Skip to content

Commit 3302f6f

Browse files
Christoph Hellwigaxboe
authored andcommitted
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>
1 parent fcf865e commit 3302f6f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

block/blk-settings.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ static int blk_validate_integrity_limits(struct queue_limits *lim)
142142
* so we assume that we can fit in at least PAGE_SIZE in a segment, apart from
143143
* the first and last segments.
144144
*/
145-
static
146-
unsigned int blk_queue_max_guaranteed_bio(struct queue_limits *lim)
145+
static unsigned int blk_queue_max_guaranteed_bio(struct queue_limits *lim)
147146
{
148147
unsigned int max_segments = min(BIO_MAX_VECS, lim->max_segments);
149148
unsigned int length;

0 commit comments

Comments
 (0)