f2fs: remove redundant goto statement in f2fs_read_single_page()
PATCH 1/1 f2fs: remove redundant goto statement in f2fs_read_single_page()
After the commit "0a4ee518185", this "goto" statement was redundant, remote it for clean code.
Signed-off-by Li Zetao <[email protected]>
--- fs/f2fs/data.c | 1 - 1 file changed, 1 deletion(-)
fs/f2fs/data.c +0 -1
@@ -2171,7 +2171,6 @@ static int f2fs_read_single_page(struct inode *inode, struct page *page,f2fs_update_iostat (F2FS_I_SB (inode),NULL ,FS_DATA_READ_IO ,F2FS_BLKSIZE ); *last_block_in_bio = block_nr; - goto out; out: *bio_ret = bio;return ret;
Signature · 8 lines
2.34.1 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Quoted 4 lines · Li Zetao
After the commit "
0a4ee518185", this "goto" statement was redundant, remote it for clean code.Signed-off-by Li Zetao <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:
Quoted 7 lines · On Mon, 24 Apr 2023 23:46:48 +0000 you wrote:
After the commit "
0a4ee518185", this "goto" statement was redundant, remote it for clean code.Signed-off-by Li Zetao <[email protected]>--- fs/f2fs/data.c | 1 - 1 file changed, 1 deletion(-)
Here is the summary with links:
- [f2fs-dev,-next] f2fs: remove redundant goto statement in f2fs_read_single_page()
https://git.kernel.org/jaegeuk/f2fs/c/1223e432d9e1
You are awesome, thank you!
Signature · 10 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel