staging: wilc1000: remove do-nothing if condition case.
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:23 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch removes do-nothing if condition case.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c

index aecb89d2bc5941ac8986e68ca8dc0c987ef9a321..94efb4a66240fec460a9f6b04baefae4605187fb 100644 (file)
@@ -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");
        }