uml: convert functions to void
This patch changes a few functions into returning void. The return values were not used anyway, so I think it should not be a problem. Also removed a little leftover bit from TT mode. Signed-off-by: Karol Swietlicki <magotari@gmail.com> Signed-off-by: Jeff Dike <jdike@linux.intel.com> 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
291248fd6e
commit
6b7e967484
@@ -198,7 +198,7 @@ __uml_setup("--help", Usage,
|
||||
" Prints this message.\n\n"
|
||||
);
|
||||
|
||||
static int __init uml_checksetup(char *line, int *add)
|
||||
static void __init uml_checksetup(char *line, int *add)
|
||||
{
|
||||
struct uml_param *p;
|
||||
|
||||
@@ -208,10 +208,9 @@ static int __init uml_checksetup(char *line, int *add)
|
||||
|
||||
n = strlen(p->str);
|
||||
if (!strncmp(line, p->str, n) && p->setup_func(line + n, add))
|
||||
return 1;
|
||||
return;
|
||||
p++;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __init uml_postsetup(void)
|
||||
|
Reference in New Issue
Block a user