Commit 79661867 authored by Wentao Cai's avatar Wentao Cai Committed by Greg Kroah-Hartman
Browse files

staging: netlogic: Remove unnecessary 'out of memory' message



Remove unnecessary 'out of memory' message to silence checkpatch.pl
warning:
WARNING: Possible unnecessary 'out of memory' message

Signed-off-by: default avatarWentao Cai <etsai042@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e8ca82a1
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -185,10 +185,8 @@ static int xlr_net_fill_rx_ring(struct net_device *ndev)

	for (i = 0; i < MAX_FRIN_SPILL / 4; i++) {
		skb_data = xlr_alloc_skb();
		if (!skb_data) {
			netdev_err(ndev, "SKB allocation failed\n");
		if (!skb_data)
			return -ENOMEM;
		}
		send_to_rfr_fifo(priv, skb_data);
	}
	netdev_info(ndev, "Rx ring setup done\n");