f2fs: remove submit label in __submit_discard_cmd()
authorYangtao Li <frank.li@vivo.com>
Fri, 11 Nov 2022 16:13:49 +0000 (00:13 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Nov 2022 20:46:33 +0000 (12:46 -0800)
commit5b7b74b71c7fefbaa3e0ccc120c3cbd50b3fad86
tree4e1f9083554aafd0863dd1aaeb8daeb7f03fa82d
parentd3b7b4afd6b2c344eabf9cc26b8bfa903c164c7c
f2fs: remove submit label in __submit_discard_cmd()

Complaint from Matthew Wilcox in another similar place:

"submit?  You don't submit anything at the 'submit' label.
it should be called 'skip' or something.  But I think this
is just badly written and you don't need a goto at all."

Let's remove submit label for readability.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c