Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:31606 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753162AbcBVEoG (ORCPT ); Sun, 21 Feb 2016 23:44:06 -0500 From: Leo Kim To: CC: , , , , , , , , Subject: [PATCH RESEND 03/10] staging: wilc1000: removes unnecessary wilc_debug print log Date: Mon, 22 Feb 2016 13:41:12 +0900 Message-ID: <1456116079-7161-3-git-send-email-leo.kim@atmel.com> (sfid-20160222_054410_596804_08673402) In-Reply-To: <1456116079-7161-1-git-send-email-leo.kim@atmel.com> References: <1456116079-7161-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: This patch removes unnecessary wilc_debug print log and the check routine. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 0843ccf..f0ac47f 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -523,9 +523,6 @@ void chip_wakeup(struct wilc *wilc) wilc->hif_func->hif_read_reg(wilc, 0xf1, &clk_status_reg); - - if ((clk_status_reg & 0x1) == 0) - wilc_debug(N_ERR, "clocks still OFF. Wake up failed\n"); } if ((clk_status_reg & 0x1) == 0) { wilc->hif_func->hif_write_reg(wilc, 0xf0, -- 1.9.1