| Index: runtime/bin/socket_win.cc
|
| diff --git a/runtime/bin/socket_win.cc b/runtime/bin/socket_win.cc
|
| index f76f764c7c4835789c8fda0024d216c3b34778b7..e3d366da53bf8a83501d60f6d9b31b06e6748421 100644
|
| --- a/runtime/bin/socket_win.cc
|
| +++ b/runtime/bin/socket_win.cc
|
| @@ -250,12 +250,6 @@ intptr_t Socket::CreateBindConnect(const RawAddr& addr,
|
| }
|
|
|
|
|
| -bool Socket::IsBindError(intptr_t error_number) {
|
| - return error_number == WSAEADDRINUSE || error_number == WSAEADDRNOTAVAIL ||
|
| - error_number == WSAEINVAL;
|
| -}
|
| -
|
| -
|
| void Socket::GetError(intptr_t fd, OSError* os_error) {
|
| Handle* handle = reinterpret_cast<Handle*>(fd);
|
| os_error->SetCodeAndMessage(OSError::kSystem, handle->last_error());
|
|
|