From: Yuval Mintz Date: Wed, 23 Jan 2013 03:21:44 +0000 (+0000) Subject: bnx2x: reorganization and beautification X-Git-Tag: v3.9-rc1~139^2~281 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=924d75ab3da25c3498b329158f7226fb80cd8cec;p=pandora-kernel.git bnx2x: reorganization and beautification Slightly changes the bnx2x code without `true' functional changes. Changes include: 1. Gathering macros into a single macro when combination is used multiple times. 2. Exporting parts of functions into their own functions. 3. Return values after if-else instead of only on the else condition (where current flow would simply return same value later in the code) 4. Removing some unnecessary code (either dead-code or incorrect conditions) Signed-off-by: Yuval Mintz Signed-off-by: Ariel Elior Signed-off-by: David S. Miller --- Reading git-diff-tree failed