From 73978f8d7dd638806f514a7914884a204afd95c1 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 21 Mar 2014 11:34:25 +0100 Subject: [PATCH] clvmd: drop unused local_sock parameter --- daemons/clvmd/clvmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemons/clvmd/clvmd.c b/daemons/clvmd/clvmd.c index c3268a705..572c5b74a 100644 --- a/daemons/clvmd/clvmd.c +++ b/daemons/clvmd/clvmd.c @@ -132,7 +132,7 @@ static int open_local_sock(void); static void close_local_sock(int local_socket); static int check_local_clvmd(void); static struct local_client *find_client(int clientid); -static void main_loop(int local_sock, int cmd_timeout); +static void main_loop(int cmd_timeout); static void be_daemon(int start_timeout); static int check_all_clvmds_running(struct local_client *client); static int local_rendezvous_callback(struct local_client *thisfd, char *buf, @@ -615,7 +615,7 @@ int main(int argc, char *argv[]) signal(SIGINT, sigterm_handler); /* Do some work */ - main_loop(local_sock, cmd_timeout); + main_loop(cmd_timeout); pthread_mutex_lock(&lvm_thread_mutex); lvm_thread_exit = 1; @@ -820,7 +820,7 @@ static void request_timed_out(struct local_client *client) } /* This is where the real work happens */ -static void main_loop(int local_sock, int cmd_timeout) +static void main_loop(int cmd_timeout) { sigset_t ss;