Revert "Add strictmode check for getaddrinfo"

This reverts commit b729adc9926ce70f48229b3a40193214e57c8efc.

Change-Id: I4f9d6aba68211aab925c7e21a534975c0fb1a848
(cherry picked from commit 31406a8d85bdf948c5a1913a06e064707cc566ce)
diff --git a/luni/src/main/java/libcore/io/BlockGuardOs.java b/luni/src/main/java/libcore/io/BlockGuardOs.java
index f4bd9be..111c584 100644
--- a/luni/src/main/java/libcore/io/BlockGuardOs.java
+++ b/luni/src/main/java/libcore/io/BlockGuardOs.java
@@ -17,9 +17,7 @@
 package libcore.io;
 
 import android.system.ErrnoException;
-import android.system.GaiException;
 import android.system.OsConstants;
-import android.system.StructAddrinfo;
 import android.system.StructLinger;
 import android.system.StructPollfd;
 import android.system.StructStat;
@@ -171,16 +169,6 @@
         os.ftruncate(fd, length);
     }
 
-    @Override public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException {
-        // With AI_NUMERICHOST flag set, the node must a numerical network address, therefore no
-        // host address lookups will be performed. In this case, it is fine to perform on main
-        // thread.
-        if ((hints.ai_flags & AI_NUMERICHOST) != 0) {
-            BlockGuard.getThreadPolicy().onNetwork();
-        }
-        return os.android_getaddrinfo(node, hints, netId);
-    }
-
     @Override public void lchown(String path, int uid, int gid) throws ErrnoException {
         BlockGuard.getThreadPolicy().onWriteToDisk();
         os.lchown(path, uid, gid);