From: Liao Pingfang <[email protected]> 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]> --- ipc/shm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ipc/shm.c b/ipc/shm.c index 0a6dd94..fbf369fa 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -1381,7 +1381,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; } -- 2.9.5

