diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-19 07:56:02 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-24 01:53:15 +0200 |
commit | f230d1010ad0dcd71d9ca8ea6864afac49c5aa9b (patch) | |
tree | 6bb5e61167c520727724c9ad0297f3bcd743151b /drivers/parport/ieee1284.c | |
parent | [PARPORT] Consolidate code copies into a single generic irq handler (diff) | |
download | linux-f230d1010ad0dcd71d9ca8ea6864afac49c5aa9b.tar.xz linux-f230d1010ad0dcd71d9ca8ea6864afac49c5aa9b.zip |
[PARPORT] Kill useful 'irq' arg from parport_{generic_irq,ieee1284_interrupt}
parport_ieee1284_interrupt() was not using its first arg at all.
Delete.
parport_generic_irq()'s second arg makes its first arg completely
redundant. Delete, and use port->irq in the one place where we actually
need it.
Also, s/__inline__/inline/ to make the code look nicer.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/parport/ieee1284.c')
-rw-r--r-- | drivers/parport/ieee1284.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/ieee1284.c b/drivers/parport/ieee1284.c index 5accaa7bde31..54a6ef72906e 100644 --- a/drivers/parport/ieee1284.c +++ b/drivers/parport/ieee1284.c @@ -571,7 +571,7 @@ static int parport_ieee1284_ack_data_avail (struct parport *port) #endif /* IEEE1284 support */ /* Handle an interrupt. */ -void parport_ieee1284_interrupt (int which, void *handle) +void parport_ieee1284_interrupt (void *handle) { struct parport *port = handle; parport_ieee1284_wakeup (port); |