1

block: conding style fixup for blk_queue_max_guaranteed_bio

"static" never goes on a line of its own.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240626142637.300624-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Christoph Hellwig 2024-06-26 16:26:26 +02:00 committed by Jens Axboe
parent fcf865e357
commit 3302f6f090

View File

@ -142,8 +142,7 @@ static int blk_validate_integrity_limits(struct queue_limits *lim)
* so we assume that we can fit in at least PAGE_SIZE in a segment, apart from * so we assume that we can fit in at least PAGE_SIZE in a segment, apart from
* the first and last segments. * the first and last segments.
*/ */
static static unsigned int blk_queue_max_guaranteed_bio(struct queue_limits *lim)
unsigned int blk_queue_max_guaranteed_bio(struct queue_limits *lim)
{ {
unsigned int max_segments = min(BIO_MAX_VECS, lim->max_segments); unsigned int max_segments = min(BIO_MAX_VECS, lim->max_segments);
unsigned int length; unsigned int length;