diff options
author | Li Nan <linan122@huawei.com> | 2024-05-29 04:31:49 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-06-10 19:15:44 +0000 |
commit | acc6680af28696a037ede62867e731841d4454c2 (patch) | |
tree | 4cb3d81a75109db385b3b4c4124f7f45dceab03d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 611d5cbc0b35a752e657a83eebadf40d814d006b (diff) |
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
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions