mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
f699b7f351
commit
49966bae84
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ static void __exit parport_mfc3_exit(void)
|
||||||
if (!this_port[i])
|
if (!this_port[i])
|
||||||
continue;
|
continue;
|
||||||
parport_remove_port(this_port[i]);
|
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)
|
if (--use_cnt == 0)
|
||||||
free_irq(IRQ_AMIGA_PORTS, &pp_mfc3_ops);
|
free_irq(IRQ_AMIGA_PORTS, &pp_mfc3_ops);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue