[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210414141639.1446-1-zuoqilin1@163.com>
Date: Wed, 14 Apr 2021 22:16:39 +0800
From: zuoqilin1@....com
To: shuah@...nel.org, andrii@...nel.org, kafai@...com,
john.fastabend@...il.com, kpsingh@...nel.org
Cc: linux-kselftest@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
zuoqilin <zuoqilin@...ong.com>
Subject: [PATCH] tools/testing: Remove unused variable
From: zuoqilin <zuoqilin@...ong.com>
Remove unused variable "ret2".
Signed-off-by: zuoqilin <zuoqilin@...ong.com>
---
tools/testing/selftests/bpf/progs/test_tunnel_kern.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/progs/test_tunnel_kern.c b/tools/testing/selftests/bpf/progs/test_tunnel_kern.c
index ba6eadf..e7b6731 100644
--- a/tools/testing/selftests/bpf/progs/test_tunnel_kern.c
+++ b/tools/testing/selftests/bpf/progs/test_tunnel_kern.c
@@ -396,7 +396,7 @@ int _ip6vxlan_get_tunnel(struct __sk_buff *skb)
SEC("geneve_set_tunnel")
int _geneve_set_tunnel(struct __sk_buff *skb)
{
- int ret, ret2;
+ int ret;
struct bpf_tunnel_key key;
struct geneve_opt gopt;
--
1.9.1
Powered by blists - more mailing lists