ixgbe: fix for unused variable warning with certain config
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 22 Nov 2013 04:27:23 +0000 (04:27 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Dec 2013 06:52:40 +0000 (22:52 -0800)
commit8f48f5bc759d6f945ff0c3b2bf2a1d5971e561ba
tree509e7dd9809d93882525c40e6cd04d43af83405d
parent7509963c703b71eebccc421585e7f48ebbbd3f38
ixgbe: fix for unused variable warning with certain config

If CONFIG_PCI_IOV isn't defined we get an "unused variable" warining so
now wrap the variable declaration like it's usage already was.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c