diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-14 11:02:09 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-15 14:13:22 -0500 |
commit | d53375608ebf13c37721cf30677eba4333d18020 (patch) | |
tree | a2aa7530ab7067dd10907383fa4fd62ea99d19ee /block/blk-rq-qos.c | |
parent | 373e4af34ec13c17a6b80227c7d5d3719122eb77 (diff) |
block: remove the unused lock argument to rq_qos_throttle
Unused now that the legacy request path is gone.
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-rq-qos.c')
-rw-r--r-- | block/blk-rq-qos.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/block/blk-rq-qos.c b/block/blk-rq-qos.c index 0005dfd568dd..f8a4d3fbb98c 100644 --- a/block/blk-rq-qos.c +++ b/block/blk-rq-qos.c | |||
@@ -67,14 +67,13 @@ void rq_qos_requeue(struct request_queue *q, struct request *rq) | |||
67 | } | 67 | } |
68 | } | 68 | } |
69 | 69 | ||
70 | void rq_qos_throttle(struct request_queue *q, struct bio *bio, | 70 | void rq_qos_throttle(struct request_queue *q, struct bio *bio) |
71 | spinlock_t *lock) | ||
72 | { | 71 | { |
73 | struct rq_qos *rqos; | 72 | struct rq_qos *rqos; |
74 | 73 | ||
75 | for(rqos = q->rq_qos; rqos; rqos = rqos->next) { | 74 | for(rqos = q->rq_qos; rqos; rqos = rqos->next) { |
76 | if (rqos->ops->throttle) | 75 | if (rqos->ops->throttle) |
77 | rqos->ops->throttle(rqos, bio, lock); | 76 | rqos->ops->throttle(rqos, bio); |
78 | } | 77 | } |
79 | } | 78 | } |
80 | 79 | ||