Index: runtime/bin/socket.cc |
diff --git a/runtime/bin/socket.cc b/runtime/bin/socket.cc |
index ed4db7a37e8f20ba81de00bfe739d050d7fd099b..7b6f95ae27bbc77e241081786653580c97eae202 100644 |
--- a/runtime/bin/socket.cc |
+++ b/runtime/bin/socket.cc |
@@ -234,12 +234,6 @@ void FUNCTION_NAME(Socket_CreateBindConnect)(Dart_NativeArguments args) { |
} |
} |
-void FUNCTION_NAME(Socket_IsBindError)(Dart_NativeArguments args) { |
- intptr_t error_number = |
- DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 0)); |
- bool is_bind_error = Socket::IsBindError(error_number); |
- Dart_SetReturnValue(args, is_bind_error ? Dart_True() : Dart_False()); |
-} |
void FUNCTION_NAME(Socket_CreateBindDatagram)(Dart_NativeArguments args) { |
RawAddr addr; |