dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue()
[linux-2.6-microblaze.git] / drivers / md / dm-rq.c
index f60c025..20745e2 100644 (file)
@@ -70,9 +70,6 @@ void dm_start_queue(struct request_queue *q)
 
 void dm_stop_queue(struct request_queue *q)
 {
-       if (blk_mq_queue_stopped(q))
-               return;
-
        blk_mq_quiesce_queue(q);
 }
 
@@ -146,10 +143,6 @@ static void rq_end_stats(struct mapped_device *md, struct request *orig)
  */
 static void rq_completed(struct mapped_device *md)
 {
-       /* nudge anyone waiting on suspend queue */
-       if (unlikely(wq_has_sleeper(&md->wait)))
-               wake_up(&md->wait);
-
        /*
         * dm_put() must be at the end of this function. See the comment above
         */