From: Rehas Sachdeva Date: Fri, 26 Feb 2016 12:47:45 +0000 (+0530) Subject: staging: wilc1000: Remove unnecessary 'else' X-Git-Tag: v4.6-rc1~103^2~351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e4d1a8d7d9f1e0342912254348c0a02b0812f39;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 0020620..557fe29 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;