From 7f8ae7e0bf284e7befea712f3baec80cde6ab58d Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 21 Feb 2018 16:39:07 +0100 Subject: [PATCH] Remove unused parameter master in load_hsm(struct daemon_conn *master) --- hsmd/hsm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hsmd/hsm.c b/hsmd/hsm.c index 694da6309..4643f5c02 100644 --- a/hsmd/hsm.c +++ b/hsmd/hsm.c @@ -504,7 +504,7 @@ static void create_new_hsm(void) populate_secretstuff(); } -static void load_hsm(struct daemon_conn *master) +static void load_hsm(void) { int fd = open("hsm_secret", O_RDONLY); if (fd < 0) @@ -528,7 +528,7 @@ static void init_hsm(struct daemon_conn *master, const u8 *msg) if (new) create_new_hsm(); else - load_hsm(master); + load_hsm(); send_init_response(master); }