summaryrefslogtreecommitdiff
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-06-26 16:26:26 +0200
committerJens Axboe <axboe@kernel.dk>2024-06-26 09:37:35 -0600
commit3302f6f09052274945f877beeb83f74641de2418 (patch)
treed107287bd25b343fb7710e3534e6ceac1dc8a109 /block/blk-settings.c
parentfcf865e357f80285af12c0c9a49f89d71acb7f4b (diff)
downloadlwn-3302f6f09052274945f877beeb83f74641de2418.tar.gz
lwn-3302f6f09052274945f877beeb83f74641de2418.zip
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>
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r--block/blk-settings.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c
index ed39a55c5bae..c2221b7406d4 100644
--- a/block/blk-settings.c
+++ b/block/blk-settings.c
@@ -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;