git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7faea
)
blkcg: remove unnecessary NULL checks from __cfqg_set_weight_device()
author
Tejun Heo
<tj@kernel.org>
Tue, 18 Aug 2015 21:55:27 +0000
(14:55 -0700)
committer
Jens Axboe
<axboe@fb.com>
Tue, 18 Aug 2015 22:49:18 +0000
(15:49 -0700)
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>
block/cfq-iosched.c
patch
|
blob
|
history
diff --cc
block/cfq-iosched.c
Simple merge