diff options
author | Yuval Mintz | 2013-01-23 04:21:44 +0100 |
---|---|---|
committer | David S. Miller | 2013-01-23 19:58:27 +0100 |
commit | 924d75ab3da25c3498b329158f7226fb80cd8cec (patch) | |
tree | fed26642b183efdbbcd11bc0ae25080effa2ad14 /.gitignore | |
parent | bnx2x: Semantic renovation (diff) | |
download | kernel-qcow2-linux-924d75ab3da25c3498b329158f7226fb80cd8cec.tar.gz kernel-qcow2-linux-924d75ab3da25c3498b329158f7226fb80cd8cec.tar.xz kernel-qcow2-linux-924d75ab3da25c3498b329158f7226fb80cd8cec.zip |
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 <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions