From 21783ff5f7ad84f4e7e1f64bbe5f83d0ae4ab057 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Aug 2018 11:35:29 +0200 Subject: [PATCH] net/SocketDescriptor: remove unnecessary SO_REUSEPORT check --- src/net/SocketDescriptor.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/net/SocketDescriptor.cxx b/src/net/SocketDescriptor.cxx index 8d7779ca0..25d0b0252 100644 --- a/src/net/SocketDescriptor.cxx +++ b/src/net/SocketDescriptor.cxx @@ -283,16 +283,12 @@ SocketDescriptor::SetReuseAddress(bool value) noexcept #ifdef __linux__ -#ifdef SO_REUSEPORT - bool SocketDescriptor::SetReusePort(bool value) noexcept { return SetBoolOption(SOL_SOCKET, SO_REUSEPORT, value); } -#endif - bool SocketDescriptor::SetFreeBind(bool value) noexcept {