diff options
author | Christoph Hellwig <hch@lst.de> | 2021-01-26 17:52:43 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-27 19:51:48 +0300 |
commit | 6a5965696856f5dc6834f351f093cc99bf2f03c8 (patch) | |
tree | 5dfb9425470b361f923293eeaf274e9256c72898 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 32637385b834062d785a261841980ae7cffea007 (diff) | |
download | linux-6a5965696856f5dc6834f351f093cc99bf2f03c8.tar.xz |
md: remove md_bio_alloc_sync
md_bio_alloc_sync is never called with a NULL mddev, and ->sync_set is
initialized in md_run, so it always must be initialized as well. Just
open code the remaining call to bio_alloc_bioset.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Song Liu <song@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions