| From: Andrew Morton <akpm@linux-foundation.org> |
| Subject: fs/f2fs/data.c: fix mess |
| |
| fs/f2fs/data.c: In function 'f2fs_read_single_page': |
| fs/f2fs/data.c:2092:1: error: label 'confused' defined but not used [-Werror=unused-label] |
| 2092 | confused: |
| | ^~~~~~~~ |
| |
| Cc: Jaegeuk Kim <jaegeuk@kernel.org> |
| Cc: Chao Yu <chao@kernel.org> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| fs/f2fs/data.c | 7 ------- |
| 1 file changed, 7 deletions(-) |
| |
| --- a/fs/f2fs/data.c~fs-f2fs-datac-fix-mess |
| +++ a/fs/f2fs/data.c |
| @@ -2095,13 +2095,6 @@ submit_and_realloc: |
| f2fs_update_iostat(F2FS_I_SB(inode), FS_DATA_READ_IO, F2FS_BLKSIZE); |
| ClearPageError(page); |
| *last_block_in_bio = block_nr; |
| - goto out; |
| -confused: |
| - if (bio) { |
| - __submit_bio(F2FS_I_SB(inode), bio, DATA); |
| - bio = NULL; |
| - } |
| - unlock_page(page); |
| out: |
| *bio_ret = bio; |
| return ret; |
| _ |