block: don't access jiffies when initialising io_context
authorRichard Kennedy <richard@rsk.demon.co.uk>
Mon, 1 Mar 2010 09:57:22 +0000 (10:57 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 1 Mar 2010 09:57:22 +0000 (10:57 +0100)
commit4671a1322052425afa38fcb7980d2fd2bb0fc99b
treed31e221682a11e7af2771b426773dff249ed115c
parent73e9ffdd0cc8159f876d5e29ecf2d9c1bfca544f
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: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-ioc.c