summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-05-02 11:24:48 -0600
committerJens Axboe <axboe@fb.com>2014-05-02 11:24:48 -0600
commit74814b1c5569f5503727cf3052a52e2349818409 (patch)
tree0c0ce85baec2a00058b45da116203d7d9d9568e2 /block/blk-mq.c
parent176167ad9e44df221454e65e2ea83c3079950073 (diff)
blk-mq: remove extra requeue trace
We already issue a blktrace requeue event in __blk_mq_requeue_request(), don't do it from the original caller as well. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r--block/blk-mq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index ca51ee4aa485..0d379830a278 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -427,13 +427,9 @@ static void __blk_mq_requeue_request(struct request *rq)
void blk_mq_requeue_request(struct request *rq)
{
- struct request_queue *q = rq->q;
-
__blk_mq_requeue_request(rq);
blk_clear_rq_complete(rq);
- trace_block_rq_requeue(q, rq);
-
BUG_ON(blk_queued_rq(rq));
blk_mq_insert_request(rq, true, true, false);
}