ipc/shm.c: remove the superfluous break
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Wed, 12 Aug 2020 01:37:08 +0000 (18:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:58:02 +0000 (10:58 -0700)
commitce14489c8e2d327b56ff3253a3642a6d79b9bca2
treeb682cfe451e71d484b928b39970be407e651ed53
parent00898e8599a184ae05e2c00903e85dc80d82a43d
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>
ipc/shm.c