diff options
author | Joe Perches <joe@perches.com> | 2009-11-19 10:30:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-19 21:29:30 +0100 |
commit | 164165dad7e607ec359e64b6fae72abbf3640ea6 (patch) | |
tree | c0db3c2603c07b1c2af6373f25a9032684d625b9 /lib/proportions.c | |
parent | drivers/isdn/gigaset: tasklet_init - Remove unnecessary leading & from second... (diff) | |
download | linux-164165dad7e607ec359e64b6fae72abbf3640ea6.tar.xz linux-164165dad7e607ec359e64b6fae72abbf3640ea6.zip |
drivers/net: tasklet_init - Remove unnecessary leading & from second arg
Changed function pointer use from non-majority address-of style
to majority short form without & via: (was: 8 with &, 36 without)
grep -rPl "\btasklet_init\s*\([^,\)]+,\s*\&" drivers/net | while read file ; do \
perl -i -e 'local $/; while (<>) { s@(\btasklet_init\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\
done
Compile tested allyesconfig x86
Signed-off-by: Joe Perches <joe@perches.com>
drivers/net/cnic.c | 4 ++--
drivers/net/jme.c | 10 +++++-----
drivers/net/skge.c | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/proportions.c')
0 files changed, 0 insertions, 0 deletions