Commit 9b19553e0bd342957846037c996861d280ed694d

Authored by NeilBrown
1 parent be2a2656ee

md/raid1: discard unused variable.

This structure field (flushing_bio_list) is never used, so remove it.

Signed-off-by: NeilBrown <neilb@suse.de>

Showing 2 changed files with 0 additions and 3 deletions Side-by-side Diff

... ... @@ -1966,7 +1966,6 @@
1966 1966 init_waitqueue_head(&conf->wait_barrier);
1967 1967  
1968 1968 bio_list_init(&conf->pending_bio_list);
1969   - bio_list_init(&conf->flushing_bio_list);
1970 1969  
1971 1970 conf->last_used = -1;
1972 1971 for (i = 0; i < conf->raid_disks; i++) {
... ... @@ -35,8 +35,6 @@
35 35 struct list_head retry_list;
36 36 /* queue pending writes and submit them on unplug */
37 37 struct bio_list pending_bio_list;
38   - /* queue of writes that have been unplugged */
39   - struct bio_list flushing_bio_list;
40 38  
41 39 /* for use when syncing mirrors: */
42 40