diff options
author | Joe Perches <joe@perches.com> | 2009-11-19 02:29:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-19 02:29:17 -0500 |
commit | a0607fd3a25ba1848a63a0d925e36d914735ab47 (patch) | |
tree | c9bbdf40c9ded30af844e80870a7180ce0c0cb5c /drivers/net/e1000e/ethtool.c | |
parent | 2939e275994977b6c9eb7fd082b7b0caa35b96b0 (diff) |
drivers/net: request_irq - Remove unnecessary leading & from second arg
Not as fancy as coccinelle. Checkpatch errors ignored.
Compile tested allyesconfig x86, not all files compiled.
grep -rPl --include=*.[ch] "\brequest_irq\s*\([^,\)]+,\s*\&" drivers/net | while read file ; do \
perl -i -e 'local $/; while (<>) { s@(\brequest_irq\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\
done
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/ethtool.c')
-rw-r--r-- | drivers/net/e1000e/ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c index 0364b91488af..c430dc8b70a3 100644 --- a/drivers/net/e1000e/ethtool.c +++ b/drivers/net/e1000e/ethtool.c | |||
@@ -937,10 +937,10 @@ static int e1000_intr_test(struct e1000_adapter *adapter, u64 *data) | |||
937 | e1000e_set_interrupt_capability(adapter); | 937 | e1000e_set_interrupt_capability(adapter); |
938 | } | 938 | } |
939 | /* Hook up test interrupt handler just for this test */ | 939 | /* Hook up test interrupt handler just for this test */ |
940 | if (!request_irq(irq, &e1000_test_intr, IRQF_PROBE_SHARED, netdev->name, | 940 | if (!request_irq(irq, e1000_test_intr, IRQF_PROBE_SHARED, netdev->name, |
941 | netdev)) { | 941 | netdev)) { |
942 | shared_int = 0; | 942 | shared_int = 0; |
943 | } else if (request_irq(irq, &e1000_test_intr, IRQF_SHARED, | 943 | } else if (request_irq(irq, e1000_test_intr, IRQF_SHARED, |
944 | netdev->name, netdev)) { | 944 | netdev->name, netdev)) { |
945 | *data = 1; | 945 | *data = 1; |
946 | ret_val = -1; | 946 | ret_val = -1; |