summaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2025-06-10 14:14:09 +0200
committerLeon Romanovsky <leon@kernel.org>2025-06-12 04:39:12 -0400
commitfd383bf8b6954d3ce46c27a1ed55fea226369b86 (patch)
tree5aba7927561b7401b4ffda1554c2912487c57fa7 /net/unix/unix_bpf.c
parent682641135d44e856f0e8b72edb75804b3e00e1e5 (diff)
RDMA/cxgb4: Delete an unnecessary check before kfree() in c4iw_rdev_open()
It can be known that the function “kfree” performs a null pointer check for its input parameter. It is therefore not needed to repeat such a check before its call. Thus remove a redundant pointer check. The source code was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Link: https://patch.msgid.link/cdc577a5-cebd-404a-b762-cc6fee0870dc@web.de Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions