staging: ft1000: ft1000-usb: remove unnecessary out of memory warning
authorCHANG FU CHIAO <zector1030@gmail.com>
Wed, 15 Jul 2015 07:32:21 +0000 (15:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 17:15:14 +0000 (10:15 -0700)
fixes "Possible unnecessary 'out of memory' message"

Signed-off-by: CHANG FU CHIAO <zector1030@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c

index e6b5976a09e3bd5e438b13446d894f3566bbbe92..96209703ba257772bf4daaa8010fe198f0d6b762 100644 (file)
@@ -842,7 +842,6 @@ static int ft1000_copy_up_pkt(struct urb *urb)
        skb = dev_alloc_skb(len + 12 + 2);
 
        if (skb == NULL) {
-               pr_debug("No Network buffers available\n");
                info->stats.rx_errors++;
                ft1000_submit_rx_urb(info);
                return -1;