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/char/ppdev.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/char/ppdev.c')
-rw-r--r-- | drivers/char/ppdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c index efe2f5c55b91..3aab837d9480 100644 --- a/drivers/char/ppdev.c +++ b/drivers/char/ppdev.c | |||
@@ -267,9 +267,9 @@ static ssize_t pp_write (struct file * file, const char __user * buf, | |||
267 | return bytes_written; | 267 | return bytes_written; |
268 | } | 268 | } |
269 | 269 | ||
270 | static void pp_irq (int irq, void * private) | 270 | static void pp_irq (void *private) |
271 | { | 271 | { |
272 | struct pp_struct * pp = (struct pp_struct *) private; | 272 | struct pp_struct *pp = private; |
273 | 273 | ||
274 | if (pp->irqresponse) { | 274 | if (pp->irqresponse) { |
275 | parport_write_control (pp->pdev->port, pp->irqctl); | 275 | parport_write_control (pp->pdev->port, pp->irqctl); |