diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2016-02-26 15:47:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-02 06:41:45 +0300 |
commit | 6e4d1a8d7d9f1e0342912254348c0a02b0812f39 (patch) | |
tree | cf1cbc80cfff04ea83a52bc2fffd4720f157dbc7 /drivers | |
parent | ac4cf190fc95ea0815c76c9e3fc5c5b5e80114ff (diff) | |
download | linux-6e4d1a8d7d9f1e0342912254348c0a02b0812f39.tar.xz |
staging: wilc1000: Remove unnecessary 'else'
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 002062059390..557fe2903caa 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -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; |