commit | 51d0420b0ad9f0a9972165fef551628bcc95ee87 | [log] [tgz] |
---|---|---|
author | Emil Tantilov <emil.s.tantilov@intel.com> | Fri Jan 18 02:17:11 2013 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Feb 15 23:28:15 2013 -0800 |
tree | ebd3dd4e609022aa9a8bd7d3cdf89ac13ff97dff | |
parent | d0310dc415a670ae2b2e27076b4685d988830479 [diff] |
ixgbe: cleanup error checking in ixgbe_identify_sfp_module_generic() This patch replaces instances where a return code from i2c operations were checked against a list of error codes with a much simpler if ( status != 0 ) check. Some whitespace cleanups included. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>