diff options
author | Joe Perches <joe@perches.com> | 2010-07-22 17:36:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-26 22:15:21 +0200 |
commit | d7f61777e9ec6951e99fb6fe06ba956b9bc4bbab (patch) | |
tree | 4e186d0ecd1603044639496b4f53a6bb3a6fec51 /drivers/net/e1000e | |
parent | drivers/net/qla3xxx.c: Update logging message style (diff) | |
download | linux-d7f61777e9ec6951e99fb6fe06ba956b9bc4bbab.tar.xz linux-d7f61777e9ec6951e99fb6fe06ba956b9bc4bbab.zip |
drivers/net/qla3xxx.c: Checkpatch cleanups
Remove typedefs
Indentation and spacing
Use a temporary for a very long pointer variable
More 80 column compatible
Convert a switch to if/else if
Compile tested only, depends on patch "Update logging message style"
(old)
$ scripts/checkpatch.pl -f drivers/net/qla3xxx.c | grep "^total:"
total: 209 errors, 82 warnings, 3995 lines checked
(new)
$ scripts/checkpatch.pl -f drivers/net/qla3xxx.c | grep "^total:"
total: 2 errors, 0 warnings, 3970 lines checked
$ size drivers/net/qla3xxx.o.*
text data bss dec hex filename
50413 212 13864 64489 fbe9 drivers/net/qla3xxx.o.old
49959 212 13728 63899 f99b drivers/net/qla3xxx.o.new
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
0 files changed, 0 insertions, 0 deletions