mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
staging: ft1000: ft1000-usb: remove unnecessary out of memory warning
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>
This commit is contained in:
parent
315c928ba9
commit
c8011d90c6
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue