diff options
author | 2015-08-18 14:55:27 -0700 | |
---|---|---|
committer | 2015-08-18 15:49:18 -0700 | |
commit | 5332dfc36483d2373d980526145789a354af2d49 (patch) | |
tree | 8e651633e054aa973eefec787b73ced5013ec107 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | blkcg: reduce stack usage of blkg_rwstat_recursive_sum() (diff) | |
download | wireguard-linux-5332dfc36483d2373d980526145789a354af2d49.tar.xz wireguard-linux-5332dfc36483d2373d980526145789a354af2d49.zip |
blkcg: remove unnecessary NULL checks from __cfqg_set_weight_device()
blkg_to_cfqg() and blkcg_to_cfqgd() on a valid blkg with the policy
enabled are guaranteed to return non-NULL and the counterpart in
blk-throttle doesn't have these checks either. Remove the spurious
NULL checks.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions