ceph: remove unnecessary return in switch statement
authorLuis Henriques <lhenriques@suse.de>
Fri, 14 Aug 2020 09:38:22 +0000 (10:38 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Oct 2020 13:29:26 +0000 (15:29 +0200)
commit1c30c90733879ea197dd29af54450a0f6cdcacb1
tree2ab569c9369ca90706ad5d7dae1da11a2b34e1a0
parenta33f6432b3a63a4909dbbb0967f7c9df8ff2de91
ceph: remove unnecessary return in switch statement

Since there's a return immediately after the 'break', there's no need for
this extra 'return' in the S_IFDIR case.

Signed-off-by: Luis Henriques <lhenriques@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/file.c