Skip to content

Commit 098b9c1

Browse files
asurti9agruenba
authored andcommitted
gfs2: removed unnecessary semicolon
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>
1 parent d579814 commit 098b9c1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎fs/gfs2/glops.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf)
350350
ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major),
351351
be32_to_cpu(str->di_minor));
352352
break;
353-
};
353+
}
354354

355355
i_uid_write(&ip->i_inode, be32_to_cpu(str->di_uid));
356356
i_gid_write(&ip->i_inode, be32_to_cpu(str->di_gid));

‎fs/gfs2/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry,
14751475
error = -EEXIST;
14761476
default:
14771477
goto out_gunlock;
1478-
};
1478+
}
14791479

14801480
if (odip != ndip) {
14811481
if (!ndip->i_inode.i_nlink) {

‎fs/gfs2/recovery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ void gfs2_recover_func(struct work_struct *work)
326326

327327
default:
328328
goto fail;
329-
};
329+
}
330330

331331
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
332332
LM_FLAG_NOEXP | GL_NOCACHE, &ji_gh);

0 commit comments

Comments
 (0)