[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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user