From: Leo Kim Date: Thu, 5 Nov 2015 05:36:23 +0000 (+0900) Subject: staging: wilc1000: remove do-nothing if condition case. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3d6d8cd890afa9c2bcdc19e5b77e450717f1c7e7;p=linux-beck.git staging: wilc1000: remove do-nothing if condition case. This patch removes do-nothing if condition case. Signed-off-by: Leo Kim Signed-off-by: Glen Lee Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index aecb89d2bc59..94efb4a66240 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -326,9 +326,6 @@ void linux_wlan_mac_indicate(struct wilc *wilc, int flag) } else { wilc->mac_status = status; } - - if (wilc->mac_status == WILC_MAC_STATUS_CONNECT) { - } } else if (flag == WILC_MAC_INDICATE_SCAN) { PRINT_D(GENERIC_DBG, "Scanning ...\n"); }