early: remove superfluous close of stdio file descriptors
[project/procd.git] / early.c
diff --git a/early.c b/early.c
index 204623b..f9e3277 100644 (file)
--- a/early.c
+++ b/early.c
@@ -53,10 +53,6 @@ static void early_console(const char *dev)
                mkdev("*console", 0600);
 
        dd = open(dev, O_RDWR);
-       close(STDIN_FILENO);
-       close(STDOUT_FILENO);
-       close(STDERR_FILENO);
-
        if (dd < 0) {
                ERROR("Failed to open %s\n", dev);
                return;