From: Hou Tao Date: Tue, 26 Jul 2016 09:13:42 +0000 (+0800) Subject: blkcg: kill unused field nr_undestroyed_grps X-Git-Tag: v5.15~13084^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfd279a868987e4bca7dc72a029e0fc50316d6df;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 47a3e54..c5494e4 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; };