m68k: parport_mfc3 - Not makes it a bool before the comparison.
authorRoel Kluin <[email protected]>
Wed, 18 Nov 2009 22:54:12 +0000 (23:54 +0100)
committerGeert Uytterhoeven <[email protected]>
Sun, 6 Dec 2009 10:18:28 +0000 (11:18 +0100)
Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
drivers/parport/parport_mfc3.c

index 6dec9ba5ed28fe07aeaf667a00d125c1e27d3a7c..362db31d8ca6f092853961cb383c0db69cda5230 100644 (file)
@@ -386,7 +386,7 @@ static void __exit parport_mfc3_exit(void)
                if (!this_port[i])
                        continue;
                parport_remove_port(this_port[i]);
-               if (!this_port[i]->irq != PARPORT_IRQ_NONE) {
+               if (this_port[i]->irq != PARPORT_IRQ_NONE) {
                        if (--use_cnt == 0) 
                                free_irq(IRQ_AMIGA_PORTS, &pp_mfc3_ops);
                }