]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ovl: remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 18 Nov 2025 02:48:00 +0000 (10:48 +0800)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Nov 2025 10:05:52 +0000 (11:05 +0100)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Fixed: 7ab96df840e60 ("VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating()")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/overlayfs/dir.c

index 0f01e005b915b3fc5b0c8dde7e8b00e243451b02..3c0672d29e01a0cffa0f3a94b89f411d67411fcb 100644 (file)
@@ -105,7 +105,7 @@ static struct dentry *ovl_whiteout(struct ovl_fs *ofs)
                        whiteout = dget(link);
                end_creating(link);
                if (!err)
-                       return whiteout;;
+                       return whiteout;
 
                if (err != -EMLINK) {
                        pr_warn("Failed to link whiteout - disabling whiteout inode sharing(nlink=%u, err=%u)\n",