[Devel] [PATCH RHEL10 COMMIT] selftests/netfilter: remove unused variable 'plen' in conntrack_reverse_clash
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Mar 31 23:33:58 MSK 2026
The commit is pushed to "branch-rh10-6.12.0-55.52.1.4.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.4.12.vz10
------>
commit 3caa903d6ee4fa7a47e17f7e61e4b31bae83f2f2
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Mon Mar 23 21:31:30 2026 +0100
selftests/netfilter: remove unused variable 'plen' in conntrack_reverse_clash
conntrack_reverse_clash.c: In function 'main':
conntrack_reverse_clash.c:66:19: warning: unused variable 'plen' [-Wunused-variable]
66 | socklen_t plen;
| ^~~~
Remove unused 'plen' to fix -Wunused-variable warning.
https://virtuozzo.atlassian.net/browse/VSTOR-127529
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
Feature: fix selftests
---
tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c b/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c
index 507930cee8cb6..0a105523e0398 100644
--- a/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c
+++ b/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c
@@ -63,7 +63,6 @@ int main(int argc, char *argv[])
};
int s1, s2, status;
time_t end, now;
- socklen_t plen;
char buf[LEN];
bool child;
More information about the Devel
mailing list