From: Emil Tantilov Date: Fri, 18 Jan 2013 02:17:11 +0000 (+0000) Subject: ixgbe: cleanup error checking in ixgbe_identify_sfp_module_generic() X-Git-Tag: v3.9-rc1~139^2~46^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51d0420b0ad9f0a9972165fef551628bcc95ee87;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed