Commit 057b28f5 authored by Gulsah Kose's avatar Gulsah Kose Committed by Greg Kroah-Hartman

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: default avatarGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eeca3458
...@@ -1945,11 +1945,10 @@ static irqreturn_t ft1000_interrupt(int irq, void *dev_id) ...@@ -1945,11 +1945,10 @@ static irqreturn_t ft1000_interrupt(int irq, void *dev_id)
ft1000_read_reg(dev, ft1000_read_reg(dev,
FT1000_REG_MAG_DFSR); FT1000_REG_MAG_DFSR);
} }
if (tempword & 0x1f) { if (tempword & 0x1f)
ft1000_copy_up_pkt(dev); ft1000_copy_up_pkt(dev);
} else { else
break; break;
}
cnt++; cnt++;
} while (cnt < MAX_RCV_LOOP); } while (cnt < MAX_RCV_LOOP);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment