diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-03-31 10:30:10 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-31 20:18:50 (GMT) |
commit | f4c57a78e2c49f188babf675ba0a9264b5374c26 (patch) | |
tree | f31de4c87afb9d70f76841ef9ae392cd7bdbe7a1 /arch/um/drivers/slip_kern.c | |
parent | 9902abd7af17c3bdf57a5a092a66f502f79ba05e (diff) | |
download | linux-f4c57a78e2c49f188babf675ba0a9264b5374c26.tar.xz |
[PATCH] uml: fix initcall return values
A number of UML initcalls were improperly returning 1. Also removed any
nearby emacs formatting comments.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/drivers/slip_kern.c')
-rw-r--r-- | arch/um/drivers/slip_kern.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/um/drivers/slip_kern.c b/arch/um/drivers/slip_kern.c index a62f5ef..163ee0d 100644 --- a/arch/um/drivers/slip_kern.c +++ b/arch/um/drivers/slip_kern.c @@ -93,18 +93,7 @@ static struct transport slip_transport = { static int register_slip(void) { register_transport(&slip_transport); - return(1); + return 0; } __initcall(register_slip); - -/* - * Overrides for Emacs so that we follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-file-style: "linux" - * End: - */ |