Thread (2 messages) 2 messages, 2 authors, 2023-02-28

Re: [PATCH net-next] net: rose: Remove NULL check before dev_{put, hold}

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-02-28 02:33:59
Also in: linux-hams, lkml

On Tue, 28 Feb 2023 08:52:17 +0800 Yang Li wrote:
The call netdev_{put, hold} of dev_{put, hold} will check NULL,
so there is no need to check before using dev_{put, hold},
remove it to silence the warning:

./net/rose/rose_route.c:619:2-10: WARNING: NULL check before dev_{put, hold} functions is not needed.
# Form letter - net-next is closed

The merge window for v6.3 has begun and therefore net-next is closed
for new drivers, features, code refactoring and optimizations.
We are currently accepting bug fixes only.

Please repost when net-next reopens after Mar 6th.

RFC patches sent for review only are obviously welcome at any time.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help