[PATCH][next] squashfs: replace ;; with ; and end of fi declaration

Colin Ian King posted 1 patch 3 months ago
fs/squashfs/block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] squashfs: replace ;; with ; and end of fi declaration
Posted by Colin Ian King 3 months ago
There is an extraneous ; after a declaration, remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 fs/squashfs/block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c
index 296c5a0fcc40..b3ae3b1cc0e5 100644
--- a/fs/squashfs/block.c
+++ b/fs/squashfs/block.c
@@ -83,7 +83,7 @@ static int squashfs_bio_read_cached(struct bio *fullbio,
 	struct folio *head_to_cache = NULL, *tail_to_cache = NULL;
 	struct block_device *bdev = fullbio->bi_bdev;
 	int start_idx = 0, end_idx = 0;
-	struct folio_iter fi;;
+	struct folio_iter fi;
 	struct bio *bio = NULL;
 	int idx = 0;
 	int err = 0;
-- 
2.50.0
Re: [PATCH][next] squashfs: replace ;; with ; and end of fi declaration
Posted by Phillip Lougher 3 months ago
On 08/07/2025 12:49, Colin Ian King wrote:
> There is an extraneous ; after a declaration, remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---

Thanks

Reviewed-by: Phillip Lougher <phillip@squashfs.org.uk>

>   fs/squashfs/block.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c
> index 296c5a0fcc40..b3ae3b1cc0e5 100644
> --- a/fs/squashfs/block.c
> +++ b/fs/squashfs/block.c
> @@ -83,7 +83,7 @@ static int squashfs_bio_read_cached(struct bio *fullbio,
>   	struct folio *head_to_cache = NULL, *tail_to_cache = NULL;
>   	struct block_device *bdev = fullbio->bi_bdev;
>   	int start_idx = 0, end_idx = 0;
> -	struct folio_iter fi;;
> +	struct folio_iter fi;
>   	struct bio *bio = NULL;
>   	int idx = 0;
>   	int err = 0;