Skip to contentSkip to conversation

ocfs2: Remove unneeded semicolon

PATCH Applied Joseph Qi 1 participant 1 message Dec 19, 2019 1 message not in the archive OCFS2

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Joseph Qi

author maintainer
#1 lore raw

PATCH 1/1 ocfs2: Remove unneeded semicolon

Quoted 7 lines · zhengbin

Fixes coccicheck warning:

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

Quoted 34 lines
---
 fs/ocfs2/cluster/quorum.c | 2 +-
 fs/ocfs2/dlmglue.c        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
fs/ocfs2/cluster/quorum.c +1 -1
index 5c424a0..1ef2457 100644
@@ -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
fs/ocfs2/dlmglue.c +1 -2
index 1c4c51f..46aa09d 100644
@@ -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);
--

2.7.4