Skip to content

Commit

Permalink
blkcg: kill unused field nr_undestroyed_grps
Browse files Browse the repository at this point in the history
'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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Hou Tao authored and axboe committed Aug 4, 2016
1 parent dc5ff2b commit bfd279a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions block/blk-throttle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit bfd279a

Please sign in to comment.