fm10k: Resolve compile warnings with W=1
authorMatthew Vick <matthew.vick@intel.com>
Tue, 27 Jan 2015 03:39:25 +0000 (03:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Feb 2015 03:41:51 +0000 (19:41 -0800)
commitf4a80f1ef7ba70f24d28f78706965f9871ac1d9f
treebe204626a348e3a7addd9eab18078d4ab4a6b33c
parent33a44c2873ba64c54d11a9364b6b43271761d245
fm10k: Resolve compile warnings with W=1

Fix two cases where variables are being set but not used.

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Krishneil Singh<Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_mbx.c
drivers/net/ethernet/intel/fm10k/fm10k_ptp.c