]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ocfs2: remove unneeded semicolons
authorzhengbin <zhengbin13@huawei.com>
Fri, 31 Jan 2020 06:11:36 +0000 (22:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2020 18:30:36 +0000 (10:30 -0800)
Fixes coccicheck warnings:

  fs/ocfs2/cluster/quorum.c:76:2-3: Unneeded semicolon
  fs/ocfs2/dlmglue.c:573:2-3: Unneeded semicolon

Link: http://lkml.kernel.org/r/6ee3aa16-9078-30b1-df3f-22064950bd98@linux.alibaba.com
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/cluster/quorum.c
fs/ocfs2/dlmglue.c

index 5c424a099280a4eef220eea1dffef6f333826bde..1ef24574f48189ff573ab3662f68bd6f4de79bf0 100644 (file)
@@ -73,7 +73,7 @@ static void o2quo_fence_self(void)
                       "system by restarting ***\n");
                emergency_restart();
                break;
-       };
+       }
 }
 
 /* Indicate that a timeout occurred on a heartbeat region write. The
index cda1027d08194242a77709d2340da0f4357864d7..cb9e6a73bea945c16b34a562821c54a2063fdcbc 100644 (file)
@@ -570,7 +570,7 @@ void ocfs2_inode_lock_res_init(struct ocfs2_lock_res *res,
                        mlog_bug_on_msg(1, "type: %d\n", type);
                        ops = NULL; /* thanks, gcc */
                        break;
-       };
+       }
 
        ocfs2_build_lock_name(type, OCFS2_I(inode)->ip_blkno,
                              generation, res->l_name);