]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/um/os-Linux/helper.c
uml: delete unused code
[linux-2.6.git] / arch / um / os-Linux / helper.c
index c7ad6306e22f08e88f3867d6a522fbcdc47cfff0..a375cc138c2c6c631748d5fcfae8f864be69b1e2 100644 (file)
@@ -25,23 +25,12 @@ struct helper_data {
        char *buf;
 };
 
        char *buf;
 };
 
-/* Debugging aid, changed only from gdb */
-int helper_pause = 0;
-
-static void helper_hup(int sig)
-{
-}
-
 static int helper_child(void *arg)
 {
        struct helper_data *data = arg;
        char **argv = data->argv;
        int errval;
 
 static int helper_child(void *arg)
 {
        struct helper_data *data = arg;
        char **argv = data->argv;
        int errval;
 
-       if (helper_pause){
-               signal(SIGHUP, helper_hup);
-               pause();
-       }
        if (data->pre_exec != NULL)
                (*data->pre_exec)(data->pre_data);
        errval = execvp_noalloc(data->buf, argv[0], argv);
        if (data->pre_exec != NULL)
                (*data->pre_exec)(data->pre_data);
        errval = execvp_noalloc(data->buf, argv[0], argv);