diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-11-18 17:54:12 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-12-06 05:18:28 -0500 |
commit | 49966bae8446f5ba7e8afbd01bde82af4e00628a (patch) | |
tree | 1a0645350a9851febc3104a948c7aa2beba70b9f /drivers/parport/parport_mfc3.c | |
parent | f699b7f351dceb754d58a836c8c16cf3de749cfc (diff) |
m68k: parport_mfc3 - Not makes it a bool before the comparison.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/parport/parport_mfc3.c')
-rw-r--r-- | drivers/parport/parport_mfc3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_mfc3.c b/drivers/parport/parport_mfc3.c index 6dec9ba5ed28..362db31d8ca6 100644 --- a/drivers/parport/parport_mfc3.c +++ b/drivers/parport/parport_mfc3.c | |||
@@ -386,7 +386,7 @@ static void __exit parport_mfc3_exit(void) | |||
386 | if (!this_port[i]) | 386 | if (!this_port[i]) |
387 | continue; | 387 | continue; |
388 | parport_remove_port(this_port[i]); | 388 | parport_remove_port(this_port[i]); |
389 | if (!this_port[i]->irq != PARPORT_IRQ_NONE) { | 389 | if (this_port[i]->irq != PARPORT_IRQ_NONE) { |
390 | if (--use_cnt == 0) | 390 | if (--use_cnt == 0) |
391 | free_irq(IRQ_AMIGA_PORTS, &pp_mfc3_ops); | 391 | free_irq(IRQ_AMIGA_PORTS, &pp_mfc3_ops); |
392 | } | 392 | } |