gfs2: removed unnecessary semicolon
authorAliasgar Surti <aliasgar.surti500@gmail.com>
Fri, 4 Oct 2019 15:55:29 +0000 (10:55 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 30 Oct 2019 11:17:04 +0000 (12:17 +0100)
There is use of unnecessary semicolon after switch case.
Removed the semicolon.

Signed-off-by: Aliasgar Surti <aliasgar.surti500@gmail.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glops.c
fs/gfs2/inode.c
fs/gfs2/recovery.c

index ff213690e3648cad19b3750b77417396cdc99c2f..0e019f5a72d187f399c2a1ac730a5932bc5ea8af 100644 (file)
@@ -350,7 +350,7 @@ static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf)
                ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major),
                                           be32_to_cpu(str->di_minor));
                break;
-       };
+       }
 
        i_uid_write(&ip->i_inode, be32_to_cpu(str->di_uid));
        i_gid_write(&ip->i_inode, be32_to_cpu(str->di_gid));
index e1e18fb587eba4541909953e58bcd64f528168ae..dcb5d363f9b9d2d4bba4da145f0826af950ab97f 100644 (file)
@@ -1475,7 +1475,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry,
                        error = -EEXIST;
                default:
                        goto out_gunlock;
-               };
+               }
 
                if (odip != ndip) {
                        if (!ndip->i_inode.i_nlink) {
index c529f8749a8959b0002e206ee6f81735cfee8783..f4aa8551277be361db5c88d013f9606e560b72d3 100644 (file)
@@ -326,7 +326,7 @@ void gfs2_recover_func(struct work_struct *work)
 
                default:
                        goto fail;
-               };
+               }
 
                error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
                                           LM_FLAG_NOEXP | GL_NOCACHE, &ji_gh);