diff mbox series

[-next,v2] libbpf: remove redundant semi-colon

Message ID 20210402012634.1965453-1-yangyingliang@huawei.com (mailing list archive)
State Accepted
Commit f07669df4c8df0b7134ae94be20a8b61bd157168
Delegated to: BPF
Headers show
Series [-next,v2] libbpf: remove redundant semi-colon | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Yang Yingliang April 2, 2021, 1:26 a.m. UTC
Remove redundant semi-colon in infinalize_btf_ext().

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
v2:
  add commit log
---
 tools/lib/bpf/linker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 3, 2021, midnight UTC | #1
Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Fri, 2 Apr 2021 09:26:34 +0800 you wrote:
> Remove redundant semi-colon in infinalize_btf_ext().
> 
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
> v2:
>   add commit log
> 
> [...]

Here is the summary with links:
  - [-next,v2] libbpf: remove redundant semi-colon
    https://git.kernel.org/bpf/bpf-next/c/f07669df4c8d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/tools/lib/bpf/linker.c b/tools/lib/bpf/linker.c
index 46b16cbdcda3..4e08bc07e635 100644
--- a/tools/lib/bpf/linker.c
+++ b/tools/lib/bpf/linker.c
@@ -1895,7 +1895,7 @@  static int finalize_btf_ext(struct bpf_linker *linker)
 	hdr->func_info_len = funcs_sz;
 	hdr->line_info_off = funcs_sz;
 	hdr->line_info_len = lines_sz;
-	hdr->core_relo_off = funcs_sz + lines_sz;;
+	hdr->core_relo_off = funcs_sz + lines_sz;
 	hdr->core_relo_len = core_relos_sz;
 
 	if (funcs_sz) {