summaryrefslogtreecommitdiffstats
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 17:37:35 +0200
commit3302f6f09052274945f877beeb83f74641de2418 (patch)
treed107287bd25b343fb7710e3534e6ceac1dc8a109 /block/blk-settings.c
parentblock: convert features and flags to __bitwise types (diff)
downloadlinux-3302f6f09052274945f877beeb83f74641de2418.tar.xz
linux-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 '')
-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;