]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - block/blk-mq.c
ktime: Cleanup ktime_set() usage
[mirror_ubuntu-zesty-kernel.git] / block / blk-mq.c
index 4bf850e8d6b5abf5a1f5252ab3bfe6dd10de6111..a8e67a155d04f6d937e890473b1647fbe95d210f 100644 (file)
@@ -2569,7 +2569,7 @@ static bool blk_mq_poll_hybrid_sleep(struct request_queue *q,
         * This will be replaced with the stats tracking code, using
         * 'avg_completion_time / 2' as the pre-sleep target.
         */
-       kt = ktime_set(0, nsecs);
+       kt = nsecs;
 
        mode = HRTIMER_MODE_REL;
        hrtimer_init_on_stack(&hs.timer, CLOCK_MONOTONIC, mode);