From: Gulsah Kose Date: Sun, 22 Feb 2015 01:52:01 +0000 (+0200) Subject: staging: ft1000: ft1000-pcmcia: Deleted unnecessary braces. X-Git-Tag: firefly_0821_release~176^2~1998^2~138^2~906 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=057b28f5bc8d90584ac8bd1f42a2de2e4a4b5bf3;p=firefly-linux-kernel-4.4.55.git staging: ft1000: ft1000-pcmcia: Deleted unnecessary braces. Brackets were removed from the expression that containing single line in the phrase "if else". Removed following checkpatch.pl warnings: WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Gulsah Kose Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c index 8c5a801fce74..b95622304f09 100644 --- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c @@ -1945,11 +1945,10 @@ static irqreturn_t ft1000_interrupt(int irq, void *dev_id) ft1000_read_reg(dev, FT1000_REG_MAG_DFSR); } - if (tempword & 0x1f) { + if (tempword & 0x1f) ft1000_copy_up_pkt(dev); - } else { + else break; - } cnt++; } while (cnt < MAX_RCV_LOOP);