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)
commite68782ed789a8e52af410368a185b3768fa64614
treecd1cd6931b070fa668584671e90034b8770bf233
parent9e2d7657e2a8fb40f732563dffb05151ea2d7e01
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