linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/testing: Remove unused variable
@ 2021-04-14 14:16 zuoqilin1
  2021-04-15  1:32 ` Martin KaFai Lau
  0 siblings, 1 reply; 2+ messages in thread
From: zuoqilin1 @ 2021-04-14 14:16 UTC (permalink / raw)
  To: shuah, andrii, kafai, john.fastabend, kpsingh
  Cc: linux-kselftest, netdev, linux-kernel, bpf, zuoqilin

From: zuoqilin <zuoqilin@yulong.com>

Remove unused variable "ret2".

Signed-off-by: zuoqilin <zuoqilin@yulong.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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/testing: Remove unused variable
  2021-04-14 14:16 [PATCH] tools/testing: Remove unused variable zuoqilin1
@ 2021-04-15  1:32 ` Martin KaFai Lau
  0 siblings, 0 replies; 2+ messages in thread
From: Martin KaFai Lau @ 2021-04-15  1:32 UTC (permalink / raw)
  To: zuoqilin1
  Cc: shuah, andrii, john.fastabend, kpsingh, linux-kselftest, netdev,
	linux-kernel, bpf, zuoqilin

On Wed, Apr 14, 2021 at 10:16:39PM +0800, zuoqilin1@163.com wrote:
> From: zuoqilin <zuoqilin@yulong.com>
> 
> Remove unused variable "ret2".
Please tag the targeting branch in the future as described in
Documentation/bpf/bpf_devel_QA.rst.

This one belongs to bpf-next.

Acked-by: Martin KaFai Lau <kafai@fb.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-15  1:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 14:16 [PATCH] tools/testing: Remove unused variable zuoqilin1
2021-04-15  1:32 ` Martin KaFai Lau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).