summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-10-27 06:39:14 +0200
committerNeilBrown <neilb@suse.de>2010-10-29 07:40:33 +0200
commit9b19553e0bd342957846037c996861d280ed694d (patch)
tree8275aadb773bf89a7f4a6c84ccd18412744ab8a7 /drivers/md
parentmd: unplug writes to external bitmaps. (diff)
downloadlinux-9b19553e0bd342957846037c996861d280ed694d.tar.xz
linux-9b19553e0bd342957846037c996861d280ed694d.zip
md/raid1: discard unused variable.
This structure field (flushing_bio_list) is never used, so remove it. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/raid1.c1
-rw-r--r--drivers/md/raid1.h2
2 files changed, 0 insertions, 3 deletions
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: */