summary refs log tree commit diff
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-07-26 06:27:33 +0800
committerAndrii Nakryiko <andrii@kernel.org>2022-07-29 15:34:11 -0700
commit14250fa4839b3a48c979e7faaf4cbcce619d02bd (patch)
treead897d846f673074a2b4b2e658a032014308ac5b
parent395fc4fa33e98944384d0d6c8b3ecd9fb4b50d00 (diff)
downloadlinux-14250fa4839b3a48c979e7faaf4cbcce619d02bd.tar.gz
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
-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;