From: Tejun Heo Date: Tue, 18 Aug 2015 21:55:27 +0000 (-0700) Subject: blkcg: remove unnecessary NULL checks from __cfqg_set_weight_device() X-Git-Tag: omap-for-v4.3/fixes-rc1~35^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5332dfc36483d2373d980526145789a354af2d49;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed