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
@@ -466,7 +466,7 @@ static inline void check_skas3_proc_mm(void)
|
||||
else non_fatal("found\n");
|
||||
}
|
||||
|
||||
int can_do_skas(void)
|
||||
void can_do_skas(void)
|
||||
{
|
||||
non_fatal("Checking for the skas3 patch in the host:\n");
|
||||
|
||||
@@ -476,8 +476,6 @@ int can_do_skas(void)
|
||||
|
||||
if (!proc_mm || !ptrace_faultinfo || !ptrace_ldt)
|
||||
skas_needs_stub = 1;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int __init parse_iomem(char *str, int *add)
|
||||
|
Reference in New Issue
Block a user