projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bpf: Remove now-unnecessary NULL checks for KF_RELEASE kfuncs
[platform/kernel/linux-starfive.git]
/
net
/
bpf
/
test_run.c
diff --git
a/net/bpf/test_run.c
b/net/bpf/test_run.c
index
8d6b312
..
27587f1
100644
(file)
--- a/
net/bpf/test_run.c
+++ b/
net/bpf/test_run.c
@@
-615,9
+615,6
@@
bpf_kfunc_call_memb_acquire(void)
__bpf_kfunc void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p)
{
- if (!p)
- return;
-
refcount_dec(&p->cnt);
}