]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Drop all dead or unnecessary code
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 11 May 2012 08:32:19 +0000 (08:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 17 Jul 2012 09:45:44 +0000 (02:45 -0700)
commit8ff5e22b3f8f2e7dc9d31c2f9763f6f2fd5bc3c3
treec28bbfb761eba30cfe983a1900fcbee44bc17721
parentdbe400804f0b4beab14001df3d32c7c9d14fbfa7
ixgbevf: Drop all dead or unnecessary code

There is a large amount of code present in this driver to support features
that either do no exist or are not supported such ask packet split, DCA, or
RSC.  This patch strips out almost all of that code and in the case of
conditionals based on unused flags I am flatting the code out to just the
path that would have been selected.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ethtool.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c