summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-11 18:51:55 +0300
committerJ. Bruce Fields <bfields@redhat.com>2020-10-16 22:15:04 +0300
commitc1488428a8daf5257a12dcec1739147e6aaf9557 (patch)
tree15979abcb91a6b13e489bc6937128464a051ab55 /fs/nfsd
parentc09f56b8f68d4d536bff518227aea323b835b2ce (diff)
downloadlinux-c1488428a8daf5257a12dcec1739147e6aaf9557.tar.xz
nfsd: remove unneeded break
Because every path through nfs4_find_file()'s switch does an explicit return, the break is not needed. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 4f3964582b68..d7f27ed6b794 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -5723,7 +5723,6 @@ nfs4_find_file(struct nfs4_stid *s, int flags)
return find_readable_file(s->sc_file);
else
return find_writeable_file(s->sc_file);
- break;
}
return NULL;