diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-26 12:58:17 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 06:41:29 -0700 |
commit | eca5892a5d616d39185d652820931f21cab2f190 (patch) | |
tree | d26026812e59f994ec2b4d6c1e290b459ff6314e /block/blk.h | |
parent | 18b74c4dcad8150e855755697d4d594506e3de78 (diff) | |
download | lwn-eca5892a5d616d39185d652820931f21cab2f190.tar.gz lwn-eca5892a5d616d39185d652820931f21cab2f190.zip |
block: simplify ioc_lookup_icq
Remove the ioc argument as it always points to current->io_context.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk.h b/block/blk.h index 187cb2654ffd..3be0fdf76c9a 100644 --- a/block/blk.h +++ b/block/blk.h @@ -364,7 +364,7 @@ static inline unsigned int bio_aligned_discard_max_sectors( * Internal io_context interface */ struct io_cq *ioc_find_get_icq(struct request_queue *q); -struct io_cq *ioc_lookup_icq(struct io_context *ioc, struct request_queue *q); +struct io_cq *ioc_lookup_icq(struct request_queue *q); void ioc_clear_queue(struct request_queue *q); #ifdef CONFIG_BLK_DEV_THROTTLING_LOW |