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>
This commit is contained in:
Tom Rix 2020-10-11 08:51:55 -07:00 коммит произвёл J. Bruce Fields
Родитель c09f56b8f6
Коммит c1488428a8
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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;