A carotid endarterectomy is performed to?