summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2017-11-09 19:14:28 +0300
committerMike Snitzer <snitzer@redhat.com>2017-11-10 23:45:06 +0300
commitede6507d67e9f10a8df7f96ed0176d639cd25beb (patch)
tree82775147ded8acf9fce892aa18c9a29806ed886c /drivers
parent9768a10dd35c6bca9ea58ae23bd5d5c2500d7005 (diff)
downloadlinux-ede6507d67e9f10a8df7f96ed0176d639cd25beb.tar.xz
dm cache: remove usused deferred_cells member from struct cache
Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/dm-cache-target.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c
index dd42d5ab8803..f81daf8638a4 100644
--- a/drivers/md/dm-cache-target.c
+++ b/drivers/md/dm-cache-target.c
@@ -408,7 +408,6 @@ struct cache {
int sectors_per_block_shift;
spinlock_t lock;
- struct list_head deferred_cells;
struct bio_list deferred_bios;
sector_t migration_threshold;
wait_queue_head_t migration_wait;
@@ -2586,7 +2585,6 @@ static int cache_create(struct cache_args *ca, struct cache **result)
}
spin_lock_init(&cache->lock);
- INIT_LIST_HEAD(&cache->deferred_cells);
bio_list_init(&cache->deferred_bios);
atomic_set(&cache->nr_allocated_migrations, 0);
atomic_set(&cache->nr_io_migrations, 0);