cfq-iosched: remove redundant check for NULL cfqq in cfq_set_request()
commitb706f64281b24d8b1fdc8ae883700131d365c412
authorShan Wei <shanwei@cn.fujitsu.com>
Wed, 1 Jul 2009 10:41:14 +0000 (1 12:41 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 1 Jul 2009 10:41:14 +0000 (1 12:41 +0200)
tree3eed31b51cdcb2787ff2d90eaf39b19fba242a9f
parentdb64f680ba4b5c56c4be59f0698000df89ff0281
cfq-iosched: remove redundant check for NULL cfqq in cfq_set_request()

With the changes for falling back to an oom_cfqq, we never fail
to find/allocate a queue in cfq_get_queue(). So remove the check.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c