OSDN Git Service

staging: ft1000-usb: Removed unnecessary parenthes
authorPeter Karlsson <peter.p.karlsson@svt.se>
Wed, 17 Jun 2015 15:32:10 +0000 (17:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:14:30 +0000 (21:14 -0700)
Fix checkpatch warning about unnecessary parenthes.

Signed-off-by: Peter Karlsson <peter.p.karlsson@svt.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c

index 2593413..a19e393 100644 (file)
@@ -317,7 +317,7 @@ static int ft1000_open(struct inode *inode, struct file *file)
 
        /* Search for available application info block */
        for (i = 0; i < MAX_NUM_APP; i++) {
-               if ((dev->app_info[i].fileobject == NULL))
+               if (dev->app_info[i].fileobject == NULL)
                        break;
        }