From: Anson Jacob Date: Fri, 2 Sep 2016 05:08:42 +0000 (-0400) Subject: staging: i4l: act2000: Remove braces for single statement X-Git-Tag: v4.9-rc1~119^2~773 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a554d48a063be2a0d85af3f5cebc23c5ffbad85e;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/i4l/act2000/act2000_isa.c b/drivers/staging/i4l/act2000/act2000_isa.c index f0eb8441deed..1d931519833c 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)