How do I remove the “My Cart” and “Checkout” Toplinks?

1) Edit the page checkout.xml and search for the below text

<reference name=”top.links”>
<block type=”checkout/links” name=”checkout_cart_link”>
<action method=”addCartLink”></action>
<action method=”addCheckoutLink”></action>
</block>
</reference>

and comment the unwanted links .