* [f2fs-dev] [PATCH -next] f2fs: remove redundant goto statement in f2fs_read_single_page()
@ 2023-04-24 23:46 Li Zetao via Linux-f2fs-devel
2023-04-25 1:48 ` Chao Yu
2023-05-08 18:34 ` patchwork-bot+f2fs
0 siblings, 2 replies; 3+ messages in thread
From: Li Zetao via Linux-f2fs-devel @ 2023-04-24 23:46 UTC (permalink / raw)
To: jaegeuk, chao; +Cc: linux-f2fs-devel
After the commit "0a4ee518185", this "goto" statement was redundant,
remote it for clean code.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
---
fs/f2fs/data.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 06b552a0aba2..c9a71b4b09dd 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -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;
--
2.34.1
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [f2fs-dev] [PATCH -next] f2fs: remove redundant goto statement in f2fs_read_single_page()
2023-04-24 23:46 [f2fs-dev] [PATCH -next] f2fs: remove redundant goto statement in f2fs_read_single_page() Li Zetao via Linux-f2fs-devel
@ 2023-04-25 1:48 ` Chao Yu
2023-05-08 18:34 ` patchwork-bot+f2fs
1 sibling, 0 replies; 3+ messages in thread
From: Chao Yu @ 2023-04-25 1:48 UTC (permalink / raw)
To: Li Zetao, jaegeuk; +Cc: linux-f2fs-devel
On 2023/4/25 7:46, Li Zetao wrote:
> After the commit "0a4ee518185", this "goto" statement was redundant,
> remote it for clean code.
>
> Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [f2fs-dev] [PATCH -next] f2fs: remove redundant goto statement in f2fs_read_single_page()
2023-04-24 23:46 [f2fs-dev] [PATCH -next] f2fs: remove redundant goto statement in f2fs_read_single_page() Li Zetao via Linux-f2fs-devel
2023-04-25 1:48 ` Chao Yu
@ 2023-05-08 18:34 ` patchwork-bot+f2fs
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+f2fs @ 2023-05-08 18:34 UTC (permalink / raw)
To: Li Zetao; +Cc: jaegeuk, linux-f2fs-devel
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:
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 <lizetao1@huawei.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-08 18:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24 23:46 [f2fs-dev] [PATCH -next] f2fs: remove redundant goto statement in f2fs_read_single_page() Li Zetao via Linux-f2fs-devel
2023-04-25 1:48 ` Chao Yu
2023-05-08 18:34 ` patchwork-bot+f2fs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).