staging: wilc1000: removes unnecessary wilc_debug print log
authorLeo Kim <leo.kim@atmel.com>
Mon, 22 Feb 2016 04:41:12 +0000 (13:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:48:19 +0000 (11:48 -0800)
This patch removes unnecessary wilc_debug print log and the check routine.

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

index 0843ccf47422550f26d17b7aef23e4fe6ae52e52..f0ac47f75a69f3f2081b5c04cd3c0efaa34bb977 100644 (file)
@@ -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,