Skip to content
Commit 4671a132 authored by Richard Kennedy's avatar Richard Kennedy Committed by Jens Axboe
Browse files

block: don't access jiffies when initialising io_context



As the comment says the initial value of last_waited is never used, so
there is no need to initialise it with the current jiffies. Jiffies is
hot enough without accessing it for no reason.

Signed-off-by: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 73e9ffdd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment