Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:29646 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753243AbcBVEP2 (ORCPT ); Sun, 21 Feb 2016 23:15:28 -0500 From: Leo Kim To: CC: , , , , , , , , , Chris Park Subject: [PATCH V3 06/24] staging: wilc1000: host_interface.c: removes unnecessary log message Date: Mon, 22 Feb 2016 13:11:51 +0900 Message-ID: <1456114329-7036-7-git-send-email-leo.kim@atmel.com> (sfid-20160222_051530_378392_9132CAD7) In-Reply-To: <1456114329-7036-1-git-send-email-leo.kim@atmel.com> References: <1456114329-7036-1-git-send-email-leo.kim@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Chris Park This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 3de4f99..035f6f5 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -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; -- 1.9.1