staging: wilc1000: wilc_wlan.c: removes PRINT_ER
authorLeo Kim <leo.kim@atmel.com>
Mon, 22 Feb 2016 04:11:46 +0000 (13:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:47:00 +0000 (11:47 -0800)
This patches removes PRINT_ER that is unnecessary debug logs.

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 391173b752efad4f0d60f0da4d0283146d667f9f..c6d206dfb9d4ef5f978c74b19dbb2b8a1954fdfa 100644 (file)
@@ -1468,7 +1468,6 @@ int wilc_wlan_init(struct net_device *dev)
 
        if (!wilc->tx_buffer) {
                ret = -ENOBUFS;
-               PRINT_ER("Can't allocate Tx Buffer");
                goto _fail_;
        }
 
@@ -1477,7 +1476,6 @@ int wilc_wlan_init(struct net_device *dev)
 
        if (!wilc->rx_buffer) {
                ret = -ENOBUFS;
-               PRINT_ER("Can't allocate Rx Buffer");
                goto _fail_;
        }