diff options
author | Anson Jacob <ansonjacob.aj@gmail.com> | 2016-09-02 05:08:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-02 12:42:41 (GMT) |
commit | a554d48a063be2a0d85af3f5cebc23c5ffbad85e (patch) | |
tree | ee135c26625526067bef6f4ed2863b62e4e2b514 | |
parent | e994608150803215f01adc2c699dabee9d295191 (diff) | |
download | linux-a554d48a063be2a0d85af3f5cebc23c5ffbad85e.tar.xz |
staging: i4l: act2000: Remove braces for single statement
Fix checkpatch.pl warning:
braces {} are not necessary for single statement blocks
Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/i4l/act2000/act2000_isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/i4l/act2000/act2000_isa.c b/drivers/staging/i4l/act2000/act2000_isa.c index f0eb844..1d93151 100644 --- a/drivers/staging/i4l/act2000/act2000_isa.c +++ b/drivers/staging/i4l/act2000/act2000_isa.c @@ -134,9 +134,9 @@ act2000_isa_config_irq(act2000_card *card, short irq) { int old_irq; - if (card->flags & ACT2000_FLAGS_IVALID) { + if (card->flags & ACT2000_FLAGS_IVALID) free_irq(card->irq, card); - } + card->flags &= ~ACT2000_FLAGS_IVALID; outb(ISA_COR_IRQOFF, ISA_PORT_COR); if (!irq) |