uml: delete unused code
Get rid of a bunch of unused stuff - cpu_feature had no users linux_prog is little-used, so its declaration is moved to the user for easy deletion when the whole file goes away a long-unused debugging aid in helper.c is gone Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7a3e965abf
commit
11100b1dfb
@@ -25,23 +25,12 @@ struct helper_data {
|
||||
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;
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user