Index: runtime/bin/socket_macos.cc |
diff --git a/runtime/bin/socket_macos.cc b/runtime/bin/socket_macos.cc |
index 2e336a2003709fd5377c29f150d1f5b1a6aa7174..708cd3cdea9bd926079f611df3870980e8563d57 100644 |
--- a/runtime/bin/socket_macos.cc |
+++ b/runtime/bin/socket_macos.cc |
@@ -103,12 +103,6 @@ intptr_t Socket::CreateBindConnect(const RawAddr& addr, |
} |
-bool Socket::IsBindError(intptr_t error_number) { |
- return error_number == EADDRINUSE || error_number == EADDRNOTAVAIL || |
- error_number == EINVAL; |
-} |
- |
- |
intptr_t Socket::Available(intptr_t fd) { |
return FDUtils::AvailableBytes(fd); |
} |