Skip to contentSkip to conversation

staging: i4l: act2000: Remove braces for single statement

PATCH New Anson Jacob 1 participant 1 message Sep 2, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: i4l: act2000: Remove braces for single statement

Fix checkpatch.pl warning:
braces {} are not necessary for single statement blocks

---
 drivers/staging/i4l/act2000/act2000_isa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/i4l/act2000/act2000_isa.c +2 -2
index f0eb844..1d93151 100644
@@ -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)
Signature · 1 line
2.7.4