staging: wilc1000: Remove unnecessary 'else'
authorRehas Sachdeva <aquannie@gmail.com>
Fri, 26 Feb 2016 12:47:45 +0000 (18:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:41:45 +0000 (19:41 -0800)
This patch removes the checkpatch.pl warning:
else is not generally useful after a break or return

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c

index 0020620..557fe29 100644 (file)
@@ -620,8 +620,7 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count)
 
                if (i == 0)
                        break;
-               else
-                       vmm_table[i] = 0x0;
+               vmm_table[i] = 0x0;
 
                acquire_bus(wilc, ACQUIRE_AND_WAKEUP);
                counter = 0;