md: make md_flush_request() more readable
Setting bio to NULL and checking 'if(!bio)' is redundant and looks strange, just consolidate them into one condition. There are no functional changes. Suggested-by:Christoph Hellwig <hch@infradead.org> Signed-off-by:
Li Nan <linan122@huawei.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20240528203149.2383260-1-linan666@huaweicloud.com
Showing
Please register or sign in to comment