Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8011d90 authored by CHANG FU CHIAO's avatar CHANG FU CHIAO Committed by Greg Kroah-Hartman
Browse files

staging: ft1000: ft1000-usb: remove unnecessary out of memory warning



fixes "Possible unnecessary 'out of memory' message"

Signed-off-by: default avatarCHANG FU CHIAO <zector1030@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 315c928b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;