OSDN Git Service

dm: don't schedule delayed run of the queue if nothing to do
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / drivers / md / dm.c
index 7924c00..6f85428 100644 (file)
@@ -1963,7 +1963,7 @@ static void dm_request_fn(struct request_queue *q)
        while (!blk_queue_stopped(q)) {
                rq = blk_peek_request(q);
                if (!rq)
-                       goto delay_and_out;
+                       goto out;
 
                /* always use block 0 to find the target for flushes for now */
                pos = 0;