diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-16 05:34:13 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-16 17:16:40 (GMT) |
commit | 853b3da10d617f08340e5fe569c99e7b54f2a568 (patch) | |
tree | 1c89150faf505825989026dd12641cedaadd6bb8 /arch/parisc/hpux | |
parent | 8bea8672edfca7ec5f661cafb218f1205863b343 (diff) | |
download | linux-fsl-qoriq-853b3da10d617f08340e5fe569c99e7b54f2a568.tar.xz |
sanitize do_pipe_flags() callers in arch
* hpux_pipe() - no need to take BKL
* sys32_pipe() in arch/x86/ia32 and xtensa_pipe() in arch/xtensa -
no need at all, since both functions are open-coded sys_pipe()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/hpux')
-rw-r--r-- | arch/parisc/hpux/sys_hpux.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/parisc/hpux/sys_hpux.c b/arch/parisc/hpux/sys_hpux.c index 18072e0..92343bd 100644 --- a/arch/parisc/hpux/sys_hpux.c +++ b/arch/parisc/hpux/sys_hpux.c @@ -445,12 +445,7 @@ done: int hpux_pipe(int *kstack_fildes) { - int error; - - lock_kernel(); - error = do_pipe_flags(kstack_fildes, 0); - unlock_kernel(); - return error; + return do_pipe_flags(kstack_fildes, 0); } /* lies - says it works, but it really didn't lock anything */ |