init: Remove unsafe memory freeup
authorAlan Cox <alan@linux.intel.com>
Thu, 17 Mar 2016 13:25:01 +0000 (13:25 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 17 Mar 2016 13:25:01 +0000 (13:25 +0000)
As per Brett's note

Applications/util/init.c

index d233074..7751a86 100644 (file)
@@ -664,9 +664,6 @@ static pid_t getty(const char *ttyname, const char *id)
                        setpgrp();
                        setpgid(0,0);
 
-                       /* Throw all the init working spacd we inherited */
-                       brk_warn(membase);
-
                        fdtty = open(ttyname, O_RDWR);
                        if (fdtty < 0)
                                return -1;