diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-07-26 00:27:33 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-07-30 00:34:11 +0200 |
commit | 14250fa4839b3a48c979e7faaf4cbcce619d02bd (patch) | |
tree | ad897d846f673074a2b4b2e658a032014308ac5b /kernel/bpf | |
parent | libbpf: Add bpf_obj_get_opts() (diff) | |
download | linux-14250fa4839b3a48c979e7faaf4cbcce619d02bd.tar.xz linux-14250fa4839b3a48c979e7faaf4cbcce619d02bd.zip |
bpf: Remove unneeded semicolon
Eliminate the following coccicheck warning:
/kernel/bpf/trampoline.c:101:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220725222733.55613-1-yang.lee@linux.alibaba.com
Diffstat (limited to 'kernel/bpf')
-rw-r--r-- | kernel/bpf/trampoline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/trampoline.c b/kernel/bpf/trampoline.c index c122d8b3ddc9..0f532e6a717f 100644 --- a/kernel/bpf/trampoline.c +++ b/kernel/bpf/trampoline.c @@ -98,7 +98,7 @@ static int bpf_tramp_ftrace_ops_func(struct ftrace_ops *ops, enum ftrace_ops_cmd default: ret = -EINVAL; break; - }; + } mutex_unlock(&tr->mutex); return ret; |