staging: ft1000: ft1000-usb: Removed unnecessary parentheses.
authorGulsah Kose <gulsah.1004@gmail.com>
Tue, 30 Sep 2014 17:32:06 +0000 (20:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 17:13:37 +0000 (10:13 -0700)
This patch fixes "Unnecessary parentheses" checkpatch.pl warning in
ft1000_hw.c

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

index fa82d4f3523e1719229edec57fb4fc09adfafbf4..36a3ffeb2d648bfdeeb67a4aafb4d48536effa7d 100644 (file)
@@ -1040,7 +1040,7 @@ static bool ft1000_receive_cmd(struct ft1000_usb *dev, u16 *pbuffer,
                for (i = 1; i < 7; i++)
                        tempword ^= *ppseudohdr++;
 
-               if ((tempword != *ppseudohdr))
+               if (tempword != *ppseudohdr)
                        return FALSE;
 
                return TRUE;