From: Alexander Aring Date: Thu, 17 Nov 2022 17:11:47 -0500 Subject: [Cluster-devel] [PATCH dlm/next 08/18] fs: dlm: remove twice INIT_WORK In-Reply-To: <20221117221157.2396743-1-aahringo@redhat.com> References: <20221117221157.2396743-1-aahringo@redhat.com> Message-ID: <20221117221157.2396743-8-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This patch removed a twice INIT_WORK() functionality. We already doing this inside of dlm_lowcomms_init() functionality which is called only once dlm is loaded. Signed-off-by: Alexander Aring --- fs/dlm/lowcomms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 0dcb69cc456a..3106e7f87344 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -1825,7 +1825,6 @@ static int dlm_listen_for_all(void) save_listen_callbacks(sock); add_listen_sock(sock, &listen_con); - INIT_WORK(&listen_con.rwork, process_listen_recv_socket); result = sock->ops->listen(sock, 5); if (result < 0) { dlm_close_sock(&listen_con.sock); -- 2.31.1