]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ethernet: ave: Remove unnecessary 'out of memory' message
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 9 Jan 2026 10:39:15 +0000 (19:39 +0900)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Jan 2026 20:03:18 +0000 (12:03 -0800)
commit11ed2195887d419ed889f2140fcf3b5ec7bf1177
tree11692f83cf81740b4757cc6b2832bba8713c61db
parent9da9633f2f02df7da67ab3b6f84eda4956ae1c5a
net: ethernet: ave: Remove unnecessary 'out of memory' message

Follow the warning from checkpatch.pl and remove 'out of memory' message.

    WARNING: Possible unnecessary 'out of memory' message
    #590: FILE: drivers/net/ethernet/socionext/sni_ave.c:590:
    +               if (!skb) {
    +                       netdev_err(ndev, "can't allocate skb for Rx\n");

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260109103915.2764380-1-hayashi.kunihiko@socionext.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/socionext/sni_ave.c