Browse Source

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>
Anson Jacob 9 years ago
parent
commit
a554d48a06
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/i4l/act2000/act2000_isa.c

+ 2 - 2
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)