Message ID | 1469524422-63439-1-git-send-email-houtao1@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/26/2016 03:13 AM, Hou Tao wrote: > '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. Thanks, applied.
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; };
'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 <houtao1@huawei.com> --- block/blk-throttle.c | 5 ----- 1 file changed, 5 deletions(-)