summaryrefslogtreecommitdiffstats
path: root/drivers/parport/share.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-19 08:54:26 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-24 01:53:16 +0200
commit5712cb3d81566893c3b14e24075cf48ec5c35d00 (patch)
tree8258fb24a0c5130e8c0cad16d2d9395941be3ed7 /drivers/parport/share.c
parent[PARPORT] Kill useful 'irq' arg from parport_{generic_irq,ieee1284_interrupt} (diff)
downloadlinux-5712cb3d81566893c3b14e24075cf48ec5c35d00.tar.xz
linux-5712cb3d81566893c3b14e24075cf48ec5c35d00.zip
[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/parport/share.c')
-rw-r--r--drivers/parport/share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/share.c b/drivers/parport/share.c
index d0b353cf14ac..a8a62bbbb576 100644
--- a/drivers/parport/share.c
+++ b/drivers/parport/share.c
@@ -524,7 +524,7 @@ void parport_remove_port(struct parport *port)
struct pardevice *
parport_register_device(struct parport *port, const char *name,
int (*pf)(void *), void (*kf)(void *),
- void (*irq_func)(int, void *),
+ void (*irq_func)(void *),
int flags, void *handle)
{
struct pardevice *tmp;