diff options
author | 2013-01-18 02:17:11 +0000 | |
---|---|---|
committer | 2013-02-15 23:28:15 -0800 | |
commit | 51d0420b0ad9f0a9972165fef551628bcc95ee87 (patch) | |
tree | ebd3dd4e609022aa9a8bd7d3cdf89ac13ff97dff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ixgbe: fix possible data corruption in read_i2c_byte (diff) | |
download | linux-dev-51d0420b0ad9f0a9972165fef551628bcc95ee87.tar.xz linux-dev-51d0420b0ad9f0a9972165fef551628bcc95ee87.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions