staging: ft1000: ft1000-pcmcia: Removed unnecessary parentheses.
authorGulsah Kose <gulsah.1004@gmail.com>
Sun, 22 Feb 2015 01:52:02 +0000 (03:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 23:14:33 +0000 (15:14 -0800)
This patch removes unnecessary parentheses from control expression.
Removed following checkpatch.pl warning:
WARNING: Unnecessary parentheses

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c

index b95622304f09612780ca1b1aeaa2e680053ae3aa..2da776d6811ee5178bc8b4b1f2a7c40b1c92e66e 100644 (file)
@@ -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;