Index: runtime/bin/socket_android.cc |
diff --git a/runtime/bin/socket_android.cc b/runtime/bin/socket_android.cc |
index ec1a43181a54199354459c3c5a24f6d4992efa32..08e49be2e26d87156cf8d3267ebd586cbe971247 100644 |
--- a/runtime/bin/socket_android.cc |
+++ b/runtime/bin/socket_android.cc |
@@ -25,13 +25,6 @@ |
namespace dart { |
namespace bin { |
-static void FDUtils::SaveErrorAndClose(intptr_t fd) { |
- int err = errno; |
- VOID_TEMP_FAILURE_RETRY(close(fd)); |
- errno = err; |
-} |
- |
- |
SocketAddress::SocketAddress(struct sockaddr* sa) { |
ASSERT(INET6_ADDRSTRLEN >= INET_ADDRSTRLEN); |
if (!Socket::FormatNumericAddress(*reinterpret_cast<RawAddr*>(sa), as_string_, |