]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: cleanup e1000_init_mac_params_80003es2lan()
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 31 Jan 2012 06:37:43 +0000 (06:37 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 7 Feb 2012 12:11:10 +0000 (04:11 -0800)
commit3229fbfb4fc3d1c05a20087237671bab511be850
treecd1cd6931b070fa668584671e90034b8770bf233
parente0c957796c3f038af120c0f50ce9a7da254e6664
e1000e: cleanup e1000_init_mac_params_80003es2lan()

Combine two switch statements into one, convert a nebulous pointer to one
that is a bit more in keeping with the rest of the driver code and remove
some dead code (there are no 80003es2lan devices with fiber).  No change in
functionality, just cosmetic changes.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/80003es2lan.c