aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-11-17 17:11:47 -0500
committerDavid Teigland <teigland@redhat.com>2022-11-21 09:45:49 -0600
commit01ea3d7701cb52dece379384f8aa7b8840f1d7c7 (patch)
treec8bdc12eb1f415df1266864e49bdc4ad6a4a1faf /fs/dlm
parent8b0188b0d60b6f6183b48380bac49fe080c5ded9 (diff)
downloadlinux-01ea3d7701cb52dece379384f8aa7b8840f1d7c7.tar.gz
fs: dlm: remove twice INIT_WORK
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 <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/lowcomms.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 0dcb69cc456a8..3106e7f873447 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);