aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/um_arch.c
diff options
context:
space:
mode:
authorKarol Swietlicki <magotari@gmail.com>2008-02-05 01:30:50 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:26 -0500
commit6b7e967484f4197d799e14b844b78118e93192c6 (patch)
tree61896d643c3a4b302d709a02aa0b7c140c2d8805 /arch/um/kernel/um_arch.c
parent291248fd6e371bcbfb8a77689c5d741a1527488f (diff)
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>
Diffstat (limited to 'arch/um/kernel/um_arch.c')
-rw-r--r--arch/um/kernel/um_arch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 9b5d2cdb621c..1139e07b968f 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -198,7 +198,7 @@ __uml_setup("--help", Usage,
198" Prints this message.\n\n" 198" Prints this message.\n\n"
199); 199);
200 200
201static int __init uml_checksetup(char *line, int *add) 201static void __init uml_checksetup(char *line, int *add)
202{ 202{
203 struct uml_param *p; 203 struct uml_param *p;
204 204
@@ -208,10 +208,9 @@ static int __init uml_checksetup(char *line, int *add)
208 208
209 n = strlen(p->str); 209 n = strlen(p->str);
210 if (!strncmp(line, p->str, n) && p->setup_func(line + n, add)) 210 if (!strncmp(line, p->str, n) && p->setup_func(line + n, add))
211 return 1; 211 return;
212 p++; 212 p++;
213 } 213 }
214 return 0;
215} 214}
216 215
217static void __init uml_postsetup(void) 216static void __init uml_postsetup(void)