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: Wentao Cai <etsai042@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
e8ca82a134
Коммит
796618673f
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче