[Cluster-devel] [PATCH] fs: dlm: remove unneeded semicolon

cgel.zte at gmail.com cgel.zte at gmail.com
Tue Aug 31 09:21:28 UTC 2021


From: Chi Minghao <chi.minghao at zte.com.cn>

Fix the following coccicheck REVIEW:
./fs/dlm/midcomms.c:972:2-3 REVIEW Unneeded semicolon

Reported-by: Zeal Robot <zealci at zte.com.cn>
Signed-off-by: Chi Minghao <chi.minghao at zte.com.cn>
---
 fs/dlm/midcomms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/dlm/midcomms.c b/fs/dlm/midcomms.c
index 7ae39ec8d9b0..aa4215388b62 100644
--- a/fs/dlm/midcomms.c
+++ b/fs/dlm/midcomms.c
@@ -969,7 +969,7 @@ void dlm_midcomms_receive_done(int nodeid)
 		spin_unlock(&node->state_lock);
 		/* do nothing FIN has it's own ack send */
 		break;
-	};
+	}
 	srcu_read_unlock(&nodes_srcu, idx);
 }
 
-- 
2.25.1




More information about the Cluster-devel mailing list