daemon: remove unnecessary memset in daemon_state_init()

Pull Request:	https://github.com/freebsd/freebsd-src/pull/694
This commit is contained in:
Ihor Antonov 2023-03-17 22:43:35 -07:00 committed by Kyle Evans
parent cf6356fd47
commit 8117ea0a41

View File

@ -730,7 +730,6 @@ reopen_log(struct daemon_state *state)
static void
daemon_state_init(struct daemon_state *state)
{
memset(state, 0, sizeof(struct daemon_state));
*state = (struct daemon_state) {
.pipe_fd = { -1, -1 },
.parent_pidfh = NULL,