Commit 49966bae8446f5ba7e8afbd01bde82af4e00628a

Authored by Roel Kluin
Committed by Geert Uytterhoeven
1 parent f699b7f351

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/parport/parport_mfc3.c
... ... @@ -386,7 +386,7 @@
386 386 if (!this_port[i])
387 387 continue;
388 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 390 if (--use_cnt == 0)
391 391 free_irq(IRQ_AMIGA_PORTS, &pp_mfc3_ops);
392 392 }