From: Gulsah Kose Date: Sun, 22 Feb 2015 01:52:02 +0000 (+0200) Subject: staging: ft1000: ft1000-pcmcia: Removed unnecessary parentheses. X-Git-Tag: firefly_0821_release~176^2~1998^2~138^2~905 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3a49f752de17ebf060d66742a4a287670dfe75d9;p=firefly-linux-kernel-4.4.55.git staging: ft1000: ft1000-pcmcia: Removed unnecessary parentheses. This patch removes unnecessary parentheses from control expression. Removed following checkpatch.pl warning: WARNING: Unnecessary parentheses 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 b95622304f09..2da776d6811e 100644 --- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c @@ -910,7 +910,7 @@ static bool ft1000_receive_cmd(struct net_device *dev, u16 *pbuffer, tempword = *ppseudohdr++; for (i = 1; i < 7; i++) tempword ^= *ppseudohdr++; - if ((tempword != *ppseudohdr)) { + if (tempword != *ppseudohdr) { pr_debug("Pseudo header checksum mismatch\n"); /* Drop this message */ return false;