SAN FRANCISCO (Reuters) - Yahoo Inc's net revenue declined slightly in the second quarter on weakness in its display advertising business, and shares of the Internet search company dropped 2 percent in after-hours trading.