aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igbvf
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-11-19 02:29:17 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-19 02:29:17 -0500
commita0607fd3a25ba1848a63a0d925e36d914735ab47 (patch)
treec9bbdf40c9ded30af844e80870a7180ce0c0cb5c /drivers/net/igbvf
parent2939e275994977b6c9eb7fd082b7b0caa35b96b0 (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/igbvf')
-rw-r--r--drivers/net/igbvf/netdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/igbvf/netdev.c b/drivers/net/igbvf/netdev.c
index fad7f348dd1b..e01f44597a26 100644
--- a/drivers/net/igbvf/netdev.c
+++ b/drivers/net/igbvf/netdev.c
@@ -1043,7 +1043,7 @@ static int igbvf_request_msix(struct igbvf_adapter *adapter)
1043 } 1043 }
1044 1044
1045 err = request_irq(adapter->msix_entries[vector].vector, 1045 err = request_irq(adapter->msix_entries[vector].vector,
1046 &igbvf_intr_msix_tx, 0, adapter->tx_ring->name, 1046 igbvf_intr_msix_tx, 0, adapter->tx_ring->name,
1047 netdev); 1047 netdev);
1048 if (err) 1048 if (err)
1049 goto out; 1049 goto out;
@@ -1053,7 +1053,7 @@ static int igbvf_request_msix(struct igbvf_adapter *adapter)
1053 vector++; 1053 vector++;
1054 1054
1055 err = request_irq(adapter->msix_entries[vector].vector, 1055 err = request_irq(adapter->msix_entries[vector].vector,
1056 &igbvf_intr_msix_rx, 0, adapter->rx_ring->name, 1056 igbvf_intr_msix_rx, 0, adapter->rx_ring->name,
1057 netdev); 1057 netdev);
1058 if (err) 1058 if (err)
1059 goto out; 1059 goto out;
@@ -1063,7 +1063,7 @@ static int igbvf_request_msix(struct igbvf_adapter *adapter)
1063 vector++; 1063 vector++;
1064 1064
1065 err = request_irq(adapter->msix_entries[vector].vector, 1065 err = request_irq(adapter->msix_entries[vector].vector,
1066 &igbvf_msix_other, 0, netdev->name, netdev); 1066 igbvf_msix_other, 0, netdev->name, netdev);
1067 if (err) 1067 if (err)
1068 goto out; 1068 goto out;
1069 1069