staging: wilc1000: host_interface.c: removes unnecessary log message
authorChris Park <chris.park@atmel.com>
Mon, 22 Feb 2016 04:11:51 +0000 (13:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:47:00 +0000 (11:47 -0800)
This patch removes unnecessary log message and relate variables.

Signed-off-by: Chris Park <chris.park@atmel.com>
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 3de4f9984e5dc533ed2562edfe107b601ccbffbe..035f6f59f919432568d2a19920ace5fbbfe5f1de 100644 (file)
@@ -2999,7 +2999,6 @@ int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len,
        int result = 0;
        struct host_if_msg msg;
        struct host_if_drv *hif_drv = vif->hif_drv;
-       int i;
 
        if (!hif_drv) {
                PRINT_ER("driver is null\n");
@@ -3008,10 +3007,6 @@ int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len,
 
        memset(&msg, 0, sizeof(struct host_if_msg));
 
-       if (INFO) {
-               for (i = 0; i < len; i++)
-                       PRINT_INFO(HOSTAPD_DBG, "KEY is %x\n", key[i]);
-       }
        msg.id = HOST_IF_MSG_KEY;
        msg.body.key_info.type = WEP;
        msg.body.key_info.action = ADDKEY_AP;