aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorLiao Pingfang <liao.pingfang@zte.com.cn>2020-08-11 18:37:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 10:58:02 -0700
commitce14489c8e2d327b56ff3253a3642a6d79b9bca2 (patch)
treeb682cfe451e71d484b928b39970be407e651ed53 /ipc
parentipc: uninline functions (diff)
downloadlinux-ce14489c8e2d327b56ff3253a3642a6d79b9bca2.tar.gz
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 <liao.pingfang@zte.com.cn> Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/1594724361-11525-1-git-send-email-wang.yi59@zte.com.cn Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
-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;
}
path: add is_ntfs_dotgit() helperJohannes Schindelin2-0/+34 2014-12-17fsck: complain about HFS+ ".git" aliases in treesJeff King2-4/+7 2014-12-17read-cache: optionally disallow HFS+ .git variantsJeff King8-5/+45 2014-12-17utf8: add is_hfs_dotgit() helperJeff King2-0/+72 2014-12-17fsck: notice .git case-insensitivelyJeff King2-1/+2 2014-12-17t1450: refactor ".", "..", and ".git" fsck testsJeff King1-30/+27 2014-12-17verify_dotfile(): reject .git case-insensitivelyJeff King2-2/+4