diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-02-05 07:30:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 18:44:25 +0100 |
commit | c0a9290ecf0dbb89958cb3a3f78964015a7de402 (patch) | |
tree | 1a987905fe5047cd74966149fc11689713cd7bea /arch/um/os-Linux/sigio.c | |
parent | uml: further bugs.c tidying (diff) | |
download | linux-c0a9290ecf0dbb89958cb3a3f78964015a7de402.tar.xz linux-c0a9290ecf0dbb89958cb3a3f78964015a7de402.zip |
uml: const and other tidying
This patch also does some improvements for uml code. Improvements include
dropping unnecessary cast, killing some unnecessary code and still some
constifying for pointers etc..
Signed-off-by: WANG Cong <xiyou.wangcong@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/os-Linux/sigio.c')
-rw-r--r-- | arch/um/os-Linux/sigio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/sigio.c b/arch/um/os-Linux/sigio.c index dc03e9cccb63..7243f5733772 100644 --- a/arch/um/os-Linux/sigio.c +++ b/arch/um/os-Linux/sigio.c @@ -407,7 +407,7 @@ static int async_pty(int master, int slave) if((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) return -errno; - return(0); + return 0; } static void __init check_one_sigio(void (*proc)(int, int)) |