[unistd] remove isatty hack

- fix ZX-972

Change-Id: I94ddcbfe6baa3574b474e7a5e0d48b3c5b03344a
diff --git a/zircon/system/ulib/fdio/unistd.c b/zircon/system/ulib/fdio/unistd.c
index 0bf5f7d..b3cd5ef0 100644
--- a/zircon/system/ulib/fdio/unistd.c
+++ b/zircon/system/ulib/fdio/unistd.c
@@ -2005,7 +2005,6 @@
     }
 
     int ret = 0;
-
     zx_handle_t handle = fdio_unsafe_borrow_channel(io);
     if (handle != ZX_HANDLE_INVALID) {
         fuchsia_io_NodeInfo info;
@@ -2015,13 +2014,6 @@
         }
     }
 
-    // TODO(ZX-972)
-    // For now, stdout etc. needs to be a tty for line buffering to
-    // work. So let's pretend those are ttys.
-    if (fd == 0 || fd == 1 || fd == 2) {
-        ret = 1;
-    }
-
     if (ret == 0) {
         errno = ENOTTY;
     }