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

cgel.zte at gmail.com cgel.zte at gmail.com
Fri Nov 5 01:43:20 UTC 2021


From: Zhang Mingyu <zhang.mingyu at zte.com.cn>

Eliminate the following coccinelle check warning:
fs/dlm/midcomms.c:972:2-3

Reported-by: Zeal Robot <zealci at zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu 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