diff options
| author | Christoph Hellwig <hch@lst.de> | 2018-11-14 07:02:09 -0900 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-11-15 10:13:22 -0900 |
| commit | d53375608ebf13c37721cf30677eba4333d18020 (patch) | |
| tree | a2aa7530ab7067dd10907383fa4fd62ea99d19ee /block/blk-rq-qos.c | |
| parent | 373e4af34ec13c17a6b80227c7d5d3719122eb77 (diff) | |
| download | linux-stable-d53375608ebf13c37721cf30677eba4333d18020.tar.gz linux-stable-d53375608ebf13c37721cf30677eba4333d18020.tar.bz2 linux-stable-d53375608ebf13c37721cf30677eba4333d18020.tar.xz linux-stable-d53375608ebf13c37721cf30677eba4333d18020.zip | |
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 | ||
