diff options
author | Simon Horman <horms@kernel.org> | 2024-08-15 17:19:25 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-17 01:19:34 +0200 |
commit | 1c66df862561a11a8ea9b4c97ecfe91983c3bda7 (patch) | |
tree | df03aab299e2f9880fed20ea1bea55a09627d5b2 /include/media/jpeg.h | |
parent | net: ethernet: lantiq_etop: remove unused variable (diff) | |
download | linux-1c66df862561a11a8ea9b4c97ecfe91983c3bda7.tar.xz linux-1c66df862561a11a8ea9b4c97ecfe91983c3bda7.zip |
net: txgbe: Remove unnecessary NULL check before free
Remove unnecessary NULL check before freeing using kvfree().
This function will ignore a NULL argument.
Flagged by Coccinelle:
.../txgbe_hw.c:187:2-8: WARNING: NULL check before some freeing functions is not needed.
No functional change intended.
Compile tested only.
Signed-off-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240815-txgbe-kvfree-v1-1-5ecf8656f555@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions