diff mbox series

Removing a duplicate condition.

Message ID 20200211113257.451781-1-isaac.young5@gmail.com
State New
Headers show
Series Removing a duplicate condition. | expand

Commit Message

Isaac Young Feb. 11, 2020, 11:32 a.m. UTC
Signed-off-by: Isaac Young <isaac.young5@gmail.com>
---
 tools/testing/selftests/bpf/prog_tests/select_reuseport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/prog_tests/select_reuseport.c b/tools/testing/selftests/bpf/prog_tests/select_reuseport.c
index 098bcae5f827..0954c7a8aa08 100644
--- a/tools/testing/selftests/bpf/prog_tests/select_reuseport.c
+++ b/tools/testing/selftests/bpf/prog_tests/select_reuseport.c
@@ -823,7 +823,7 @@  void test_select_reuseport(void)
 
 	saved_tcp_fo = read_int_sysctl(TCP_FO_SYSCTL);
 	saved_tcp_syncookie = read_int_sysctl(TCP_SYNCOOKIE_SYSCTL);
-	if (saved_tcp_syncookie < 0 || saved_tcp_syncookie < 0)
+	if (saved_tcp_syncookie < 0)
 		goto out;
 
 	if (enable_fastopen())