Commit 80e4e17a authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: remove blk_queue_max_integrity_segments

This is unused now that all the atomic queue limit conversions are
merged.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240521221606.393040-1-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1613e604
...@@ -66,12 +66,6 @@ blk_integrity_queue_supports_integrity(struct request_queue *q) ...@@ -66,12 +66,6 @@ blk_integrity_queue_supports_integrity(struct request_queue *q)
return q->integrity.profile; return q->integrity.profile;
} }
static inline void blk_queue_max_integrity_segments(struct request_queue *q,
unsigned int segs)
{
q->limits.max_integrity_segments = segs;
}
static inline unsigned short static inline unsigned short
queue_max_integrity_segments(const struct request_queue *q) queue_max_integrity_segments(const struct request_queue *q)
{ {
...@@ -151,10 +145,6 @@ static inline void blk_integrity_register(struct gendisk *d, ...@@ -151,10 +145,6 @@ static inline void blk_integrity_register(struct gendisk *d,
static inline void blk_integrity_unregister(struct gendisk *d) static inline void blk_integrity_unregister(struct gendisk *d)
{ {
} }
static inline void blk_queue_max_integrity_segments(struct request_queue *q,
unsigned int segs)
{
}
static inline unsigned short static inline unsigned short
queue_max_integrity_segments(const struct request_queue *q) queue_max_integrity_segments(const struct request_queue *q)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment