Remove unused parameter master in load_hsm(struct daemon_conn *master)

This commit is contained in:
practicalswift 2018-02-21 16:39:07 +01:00 committed by Christian Decker
parent f5742b0928
commit 7f8ae7e0bf

View File

@ -504,7 +504,7 @@ static void create_new_hsm(void)
populate_secretstuff(); populate_secretstuff();
} }
static void load_hsm(struct daemon_conn *master) static void load_hsm(void)
{ {
int fd = open("hsm_secret", O_RDONLY); int fd = open("hsm_secret", O_RDONLY);
if (fd < 0) if (fd < 0)
@ -528,7 +528,7 @@ static void init_hsm(struct daemon_conn *master, const u8 *msg)
if (new) if (new)
create_new_hsm(); create_new_hsm();
else else
load_hsm(master); load_hsm();
send_init_response(master); send_init_response(master);
} }