diff options
author | malahal@us.ibm.com <malahal@us.ibm.com> | 2008-10-30 07:51:58 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-12-29 07:28:42 (GMT) |
commit | 565e411d764eeda006738dfadbccca79d48381e1 (patch) | |
tree | 5bd835b9aed2df0dc91ed58740834d6e156e86ea /kernel/wait.c | |
parent | 66d352e1e410dcea22fecb9fa9ec09dd23a62e1c (diff) | |
download | linux-fsl-qoriq-565e411d764eeda006738dfadbccca79d48381e1.tar.xz |
block: optimizations in blk_rq_timed_out_timer()
Now the rq->deadline can't be zero if the request is in the
timeout_list, so there is no need to have next_set. There is no need to
access a request's deadline field if blk_rq_timed_out is called on it.
Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions