Skip to content

Commit ce14489

Browse files
Liao Pingfangtorvalds
authored andcommitted
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]>
1 parent 00898e8 commit ce14489

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ipc/shm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,6 @@ static long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int versio
13801380
case SHM_LOCK:
13811381
case SHM_UNLOCK:
13821382
return shmctl_do_lock(ns, shmid, cmd);
1383-
break;
13841383
default:
13851384
return -EINVAL;
13861385
}

0 commit comments

Comments
 (0)