U.S. Rep. Kevin McCarthy of California, left, shown with U.S. Rep. Eric Cantor of Virginia, has bowed out of the race for speaker.