summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-07-26 01:27:33 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-07-30 01:34:11 +0300
commit14250fa4839b3a48c979e7faaf4cbcce619d02bd (patch)
treead897d846f673074a2b4b2e658a032014308ac5b /kernel
parent395fc4fa33e98944384d0d6c8b3ecd9fb4b50d00 (diff)
downloadlinux-14250fa4839b3a48c979e7faaf4cbcce619d02bd.tar.xz
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')
-rw-r--r--kernel/bpf/trampoline.c2
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;