diff options
author | NeilBrown <neilb@suse.de> | 2010-10-27 00:39:14 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-10-29 01:40:33 -0400 |
commit | 9b19553e0bd342957846037c996861d280ed694d (patch) | |
tree | 8275aadb773bf89a7f4a6c84ccd18412744ab8a7 /drivers/md | |
parent | be2a2656eef95c32ca73e7a6a8c85671aa92e3f1 (diff) |
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.c | 1 | ||||
-rw-r--r-- | drivers/md/raid1.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 54f60c9e5f8..f7a8954d665 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -1966,7 +1966,6 @@ static conf_t *setup_conf(mddev_t *mddev) | |||
1966 | init_waitqueue_head(&conf->wait_barrier); | 1966 | init_waitqueue_head(&conf->wait_barrier); |
1967 | 1967 | ||
1968 | bio_list_init(&conf->pending_bio_list); | 1968 | bio_list_init(&conf->pending_bio_list); |
1969 | bio_list_init(&conf->flushing_bio_list); | ||
1970 | 1969 | ||
1971 | conf->last_used = -1; | 1970 | conf->last_used = -1; |
1972 | for (i = 0; i < conf->raid_disks; i++) { | 1971 | for (i = 0; i < conf->raid_disks; i++) { |
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h index adf8cfd7331..cbfdf1a6acd 100644 --- a/drivers/md/raid1.h +++ b/drivers/md/raid1.h | |||
@@ -35,8 +35,6 @@ struct r1_private_data_s { | |||
35 | struct list_head retry_list; | 35 | struct list_head retry_list; |
36 | /* queue pending writes and submit them on unplug */ | 36 | /* queue pending writes and submit them on unplug */ |
37 | struct bio_list pending_bio_list; | 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 | /* for use when syncing mirrors: */ | 39 | /* for use when syncing mirrors: */ |
42 | 40 | ||