]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ixgbe: fix variable set but not used warnings by gcc 4.6
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 5 Jan 2011 07:09:41 +0000 (07:09 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 8 Feb 2011 09:18:46 +0000 (01:18 -0800)
commit2c4db944a29c624dd5e4b9c44fc6c9901831d2d5
treeac07c870dd5c6378821b84345f1c01ae5bad19a3
parentcf8e09b06d7ac05de4b6a3f1ee563979e36a46ed
ixgbe: fix variable set but not used warnings by gcc 4.6

Caught with gcc 4.6 -Wunused-but-set-variable

Remove unused napi_vectors variable.

Fix the use of reset_bit in ixgbe_reset_hw_X540()

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_x540.c