ixgbe: fix for unused variable warning with certain config
authorDon Skidmore <[email protected]>
Fri, 22 Nov 2013 04:27:23 +0000 (04:27 +0000)
committerJeff Kirsher <[email protected]>
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 <[email protected]>
Acked-by: John Fastabend <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c