提交 c1488428 编写于 作者: T Tom Rix 提交者: J. Bruce Fields

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: NTom Rix <trix@redhat.com>
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 c09f56b8
...@@ -5723,7 +5723,6 @@ nfs4_find_file(struct nfs4_stid *s, int flags) ...@@ -5723,7 +5723,6 @@ nfs4_find_file(struct nfs4_stid *s, int flags)
return find_readable_file(s->sc_file); return find_readable_file(s->sc_file);
else else
return find_writeable_file(s->sc_file); return find_writeable_file(s->sc_file);
break;
} }
return NULL; return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册