diff options
author | Tetsuhiro Kohada <kohada.t2@gmail.com> | 2020-09-02 16:53:06 +0900 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2020-10-22 08:29:11 +0900 |
commit | 188df41f212c9282f6cb05b832383ffca3c66893 (patch) | |
tree | 88f70773fa7d76c24bf712a3ef023b1d33e44efb /fs/exfat/dir.c | |
parent | 45882a6a0dbd1189defae1a449152f8a8168c274 (diff) |
exfat: eliminate dead code in exfat_find()
The exfat_find_dir_entry() called by exfat_find() doesn't return -EEXIST.
Therefore, the root-dir information setting is never executed.
Signed-off-by: Tetsuhiro Kohada <kohada.t2@gmail.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Diffstat (limited to 'fs/exfat/dir.c')
-rw-r--r-- | fs/exfat/dir.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/exfat/dir.c b/fs/exfat/dir.c index 573659bfbc55..a9b13ae3f325 100644 --- a/fs/exfat/dir.c +++ b/fs/exfat/dir.c @@ -911,7 +911,6 @@ enum { /* * return values: * >= 0 : return dir entiry position with the name in dir - * -EEXIST : (root dir, ".") it is the root dir itself * -ENOENT : entry with the name does not exist * -EIO : I/O error */ |