diff options
author | Hou Tao <houtao1@huawei.com> | 2016-07-26 05:13:42 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-08-04 16:19:16 -0400 |
commit | bfd279a868987e4bca7dc72a029e0fc50316d6df (patch) | |
tree | 33d47b80407384ff20016bee049d5c0277c5b6b6 | |
parent | dc5ff2b1d66f21c27a4c37236636dff6946437e4 (diff) |
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 <houtao1@huawei.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r-- | block/blk-throttle.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 47a3e540631a..c5494e403239 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c | |||
@@ -145,11 +145,6 @@ struct throtl_data | |||
145 | /* Total Number of queued bios on READ and WRITE lists */ | 145 | /* Total Number of queued bios on READ and WRITE lists */ |
146 | unsigned int nr_queued[2]; | 146 | unsigned int nr_queued[2]; |
147 | 147 | ||
148 | /* | ||
149 | * number of total undestroyed groups | ||
150 | */ | ||
151 | unsigned int nr_undestroyed_grps; | ||
152 | |||
153 | /* Work for dispatching throttled bios */ | 148 | /* Work for dispatching throttled bios */ |
154 | struct work_struct dispatch_work; | 149 | struct work_struct dispatch_work; |
155 | }; | 150 | }; |