Fix compile warning by removing unused variable.

MFC:		3 days
Sponsored by:	Mellanox Technologies