Commit 3302f6f0 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: conding style fixup for blk_queue_max_guaranteed_bio

"static" never goes on a line of its own.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
Reviewed-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240626142637.300624-6-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fcf865e3
......@@ -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
* the first and last segments.
*/
static
unsigned int blk_queue_max_guaranteed_bio(struct queue_limits *lim)
static unsigned int blk_queue_max_guaranteed_bio(struct queue_limits *lim)
{
unsigned int max_segments = min(BIO_MAX_VECS, lim->max_segments);
unsigned int length;
......
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