diff options
author | Christoph Hellwig <[email protected]> | 2021-01-26 15:52:43 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-01-27 09:51:48 -0700 |
commit | 6a5965696856f5dc6834f351f093cc99bf2f03c8 (patch) | |
tree | 5dfb9425470b361f923293eeaf274e9256c72898 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 32637385b834062d785a261841980ae7cffea007 (diff) |
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 <[email protected]>
Acked-by: Song Liu <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Acked-by: Damien Le Moal <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions