Skip to content

Commit

Permalink
md/raid1: discard unused variable.
Browse files Browse the repository at this point in the history
This structure field (flushing_bio_list) is never used, so remove it.

Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information
NeilBrown committed Oct 29, 2010
1 parent be2a265 commit 9b19553
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/md/raid1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 0 additions & 2 deletions drivers/md/raid1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: */

Expand Down

0 comments on commit 9b19553

Please sign in to comment.