ixgbe: cleanup code in ixgbe_identify_sfp_module_generic
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 16 Feb 2011 10:14:00 +0000 (10:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Mar 2011 11:01:58 +0000 (03:01 -0800)
commit76d97dd4c44c6847029ae9021fe0d880cad90d33
tree238503bf983843b81f33ffbb53e29dc5abc271df
parenta4297dc2f49d46d5452a948210be44442236e685
ixgbe: cleanup code in ixgbe_identify_sfp_module_generic

This change cleans up several issues in ixgbe_identify_sfp_module_generic
including whitespace, redundant code, I2C EEPROM reads without exception
handling, and an if/elseif/else without braces.

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_phy.c