2020-04-28 06:36:20

by Jason Yan

[permalink] [raw]
Subject: [PATCH] dlm: remove unneeded semicolon in rcom.c

Fix the following coccicheck warning:

fs/dlm/rcom.c:566:2-3: Unneeded semicolon

Signed-off-by: Jason Yan <[email protected]>
---
fs/dlm/rcom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c
index e3d9f72c640d..4daf5dc2b51c 100644
--- a/fs/dlm/rcom.c
+++ b/fs/dlm/rcom.c
@@ -563,7 +563,7 @@ void dlm_receive_rcom(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid)
lock = 1;
reply = 1;
break;
- };
+ }

spin_lock(&ls->ls_recover_lock);
status = ls->ls_recover_status;
--
2.21.1