aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/plip.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-19 02:54:26 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-23 19:53:16 -0400
commit5712cb3d81566893c3b14e24075cf48ec5c35d00 (patch)
tree8258fb24a0c5130e8c0cad16d2d9395941be3ed7 /drivers/net/plip.c
parentf230d1010ad0dcd71d9ca8ea6864afac49c5aa9b (diff)
[PARPORT] Remove unused 'irq' argument from parport irq functions
None of the drivers with a struct pardevice's ->irq_func() hook ever used the 'irq' argument passed to it, so remove it. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/plip.c')
-rw-r--r--drivers/net/plip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/plip.c b/drivers/net/plip.c
index b5e9981d1060..5071fcd8a0bd 100644
--- a/drivers/net/plip.c
+++ b/drivers/net/plip.c
@@ -143,7 +143,7 @@ static void plip_bh(struct work_struct *work);
143static void plip_timer_bh(struct work_struct *work); 143static void plip_timer_bh(struct work_struct *work);
144 144
145/* Interrupt handler */ 145/* Interrupt handler */
146static void plip_interrupt(int irq, void *dev_id); 146static void plip_interrupt(void *dev_id);
147 147
148/* Functions for DEV methods */ 148/* Functions for DEV methods */
149static int plip_tx_packet(struct sk_buff *skb, struct net_device *dev); 149static int plip_tx_packet(struct sk_buff *skb, struct net_device *dev);
@@ -380,7 +380,7 @@ plip_timer_bh(struct work_struct *work)
380 container_of(work, struct net_local, timer.work); 380 container_of(work, struct net_local, timer.work);
381 381
382 if (!(atomic_read (&nl->kill_timer))) { 382 if (!(atomic_read (&nl->kill_timer))) {
383 plip_interrupt (-1, nl->dev); 383 plip_interrupt (nl->dev);
384 384
385 schedule_delayed_work(&nl->timer, 1); 385 schedule_delayed_work(&nl->timer, 1);
386 } 386 }
@@ -897,7 +897,7 @@ plip_error(struct net_device *dev, struct net_local *nl,
897 897
898/* Handle the parallel port interrupts. */ 898/* Handle the parallel port interrupts. */
899static void 899static void
900plip_interrupt(int irq, void *dev_id) 900plip_interrupt(void *dev_id)
901{ 901{
902 struct net_device *dev = dev_id; 902 struct net_device *dev = dev_id;
903 struct net_local *nl; 903 struct net_local *nl;