From bfd279a868987e4bca7dc72a029e0fc50316d6df Mon Sep 17 00:00:00 2001 From: Hou Tao Date: Tue, 26 Jul 2016 17:13:42 +0800 Subject: blkcg: kill unused field nr_undestroyed_grps 'nr_undestroyed_grps' in struct throtl_data was used to count the number of throtl_grp related with throtl_data, but now throtl_grp is tracked by blkcg_gq, so it is useless anymore. Signed-off-by: Hou Tao Signed-off-by: Jens Axboe --- block/blk-throttle.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'block/blk-throttle.c') diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 47a3e540631a3..c5494e4032399 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -145,11 +145,6 @@ struct throtl_data /* Total Number of queued bios on READ and WRITE lists */ unsigned int nr_queued[2]; - /* - * number of total undestroyed groups - */ - unsigned int nr_undestroyed_grps; - /* Work for dispatching throttled bios */ struct work_struct dispatch_work; }; -- cgit v1.2.3