aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorLiao Pingfang <[email protected]>2020-08-11 18:37:08 -0700
committerLinus Torvalds <[email protected]>2020-08-12 10:58:02 -0700
commitce14489c8e2d327b56ff3253a3642a6d79b9bca2 (patch)
treeb682cfe451e71d484b928b39970be407e651ed53 /ipc/shm.c
parentipc: uninline functions (diff)
downloadwireguard-linux-ce14489c8e2d327b56ff3253a3642a6d79b9bca2.tar.xz
wireguard-linux-ce14489c8e2d327b56ff3253a3642a6d79b9bca2.zip
ipc/shm.c: remove the superfluous break
Remove the superfuous break, as there is a 'return' before it. Signed-off-by: Liao Pingfang <[email protected]> Signed-off-by: Yi Wang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to '')
-rw-r--r--ipc/shm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index fd296135a5e6..f1ed36e3ac9f 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -1380,7 +1380,6 @@ static long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int versio
case SHM_LOCK:
case SHM_UNLOCK:
return shmctl_do_lock(ns, shmid, cmd);
- break;
default:
return -EINVAL;
}
OSZAR »