md/raid1: discard unused variable.
authorNeilBrown <neilb@suse.de>
Wed, 27 Oct 2010 04:39:14 +0000 (15:39 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 29 Oct 2010 05:40:33 +0000 (16:40 +1100)
This structure field (flushing_bio_list) is never used, so remove it.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
drivers/md/raid1.h

index 54f60c9e5f85985ba030f948404dce73cd280f96..f7a8954d665fe5fe1211f2b686ae3e04225138e1 100644 (file)
@@ -1966,7 +1966,6 @@ static conf_t *setup_conf(mddev_t *mddev)
        init_waitqueue_head(&conf->wait_barrier);
 
        bio_list_init(&conf->pending_bio_list);
-       bio_list_init(&conf->flushing_bio_list);
 
        conf->last_used = -1;
        for (i = 0; i < conf->raid_disks; i++) {
index adf8cfd73313a253e43d234dd3c1c42b0f1da87e..cbfdf1a6acd98e6f501d29912c2bc718c39450df 100644 (file)
@@ -35,8 +35,6 @@ struct r1_private_data_s {
        struct list_head        retry_list;
        /* queue pending writes and submit them on unplug */
        struct bio_list         pending_bio_list;
-       /* queue of writes that have been unplugged */
-       struct bio_list         flushing_bio_list;
 
        /* for use when syncing mirrors: */