diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-19 02:54:26 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-23 19:53:16 -0400 |
commit | 5712cb3d81566893c3b14e24075cf48ec5c35d00 (patch) | |
tree | 8258fb24a0c5130e8c0cad16d2d9395941be3ed7 /drivers/parport/probe.c | |
parent | f230d1010ad0dcd71d9ca8ea6864afac49c5aa9b (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/parport/probe.c')
-rw-r--r-- | drivers/parport/probe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c index ea83b70e0de2..853a15f44f88 100644 --- a/drivers/parport/probe.c +++ b/drivers/parport/probe.c | |||
@@ -255,8 +255,7 @@ static ssize_t parport_read_device_id (struct parport *port, char *buffer, | |||
255 | ssize_t parport_device_id (int devnum, char *buffer, size_t count) | 255 | ssize_t parport_device_id (int devnum, char *buffer, size_t count) |
256 | { | 256 | { |
257 | ssize_t retval = -ENXIO; | 257 | ssize_t retval = -ENXIO; |
258 | struct pardevice *dev = parport_open (devnum, "Device ID probe", | 258 | struct pardevice *dev = parport_open (devnum, "Device ID probe"); |
259 | NULL, NULL, NULL, 0, NULL); | ||
260 | if (!dev) | 259 | if (!dev) |
261 | return -ENXIO; | 260 | return -ENXIO; |
262 | 261 | ||