summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-08-21 11:35:29 +0200
committerMax Kellermann <max@musicpd.org>2018-08-21 11:35:29 +0200
commit21783ff5f7ad84f4e7e1f64bbe5f83d0ae4ab057 (patch)
tree5bab1fc542431e218590e3a697f32433ea0c2a3f /src
parentfd923d5d96e33d5a677139a9fdfe5e8349b07638 (diff)
net/SocketDescriptor: remove unnecessary SO_REUSEPORT check
Diffstat (limited to 'src')
-rw-r--r--src/net/SocketDescriptor.cxx4
1 files changed, 0 insertions, 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
{