From 9b19553e0bd342957846037c996861d280ed694d Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Wed, 27 Oct 2010 15:39:14 +1100 Subject: md/raid1: discard unused variable. This structure field (flushing_bio_list) is never used, so remove it. Signed-off-by: NeilBrown --- drivers/md/raid1.c | 1 - drivers/md/raid1.h | 2 -- 2 files changed, 3 deletions(-) (limited to 'drivers/md') diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 54f60c9e5f85..f7a8954d665f 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@ -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++) { diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h index adf8cfd73313..cbfdf1a6acd9 100644 --- a/drivers/md/raid1.h +++ b/drivers/md/raid1.h @@ -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: */ -- cgit v1.2.3