From nobody Sun Apr 09 23:57:57 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PvpvV5YRPz44SmJ; Sun, 9 Apr 2023 23:57:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PvpvV1RXJz4FMq; Sun, 9 Apr 2023 23:57:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681084678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h5cZtPPogOJEtXT09F2B5VK1Gq0N5uLiRS0UnDr17zo=; b=SCFONpMawY61AmUSXamb0XszhzW4ZM4bQInDcFctESwCJdikuP4fmXJXTZTVJ5lTOw4NM5 SvLpq6nJujFQE/ow9kSBWYcr5NBUKiNRs/aGTu5RHnPcpARzxMC1DQxtKvaXKiUcp/AFqq bvyi0GqkLuiQovwqPsvzGWx1MzzSfdCR9LWqQhkNDgT0skaVVN7jdPjxeI8PIbgYaC0kZF 4N4cH2aPGeNcEvWqlIqnUS9VaQxCE+unSL1+t4rui7fx/xLX3Rp90NUr6wYfSuQkeNS0tc uUTG27bGrEWDfkbHYr6kitKBUUI5sJVp4DukmaAVpVP6QaDn2OP75e2MbTWx2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681084678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h5cZtPPogOJEtXT09F2B5VK1Gq0N5uLiRS0UnDr17zo=; b=oRRhOLXI2S4dZNCCw8ofYwALgjuMGs2+qZyFAhWMQ+++nNqbT6Ki5bp63D3QwGuzXgEBuM TncKWAqhKnUKV3Ka2dkQyY+epj9rtPv0uiWEZ/wwf0iyJ38A07ZceqlvyDx9daCX+Ot31G Llt/NiTlCSsyUJFPbj3bV6at5fz/zsOJrKGnD9F//IruclhaS0nWf4T13BSOGZOszVP6s6 z56xTAHt3m4wjS7AEf54pKh1MpY1R3YGBhLQ6VyA5qRS9/8gzE96Sm1zwn/SPF1mXKnWB1 IlSd18deS7jsz6+T/qlDAfXRNDEHv7j0DIZ86oWG/ECDh5brHXK5Yoqj9AHnHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681084678; a=rsa-sha256; cv=none; b=CdjTpbGpIO7dE2vt3znMdV94A/vxbjxeA8+mtuuslcNEzjNCL/2vpnanQmxE3KO20CSNcF YWke4sC+74SXBKOG7wm7f6dddx26C+iP2eDgG53QqBnt7B7Hh1rpNYGunDqEAxON95yc3V ENOQHnNEdGHKrhXOmE60/Uzf8qvEvUvUJV6FIXeodJXp5UCeJuh5orSei2K0C06McYOckk FM0oUNd7+57detyp48D5HYRhIowrep2qsgm1DlfQRd7A9GqNHR7g0dnZBFgwNm4OFuGJhj /IzHIRrlYsycPx4HHHe1nCHhNWc77Odm5kRUioVepKEFtvJ4aBCCOId9Ca+idg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PvpvV0R0wzSj7; Sun, 9 Apr 2023 23:57:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 339NvwbO011962; Sun, 9 Apr 2023 23:57:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 339NvvhO011961; Sun, 9 Apr 2023 23:57:57 GMT (envelope-from git) Date: Sun, 9 Apr 2023 23:57:57 GMT Message-Id: <202304092357.339NvvhO011961@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kyle Evans Subject: git: 980ad642711f - stable/13 - daemon: remove unnecessary memset in daemon_state_init() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 980ad642711fadb351ca53cad6341343b98d9cb0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=980ad642711fadb351ca53cad6341343b98d9cb0 commit 980ad642711fadb351ca53cad6341343b98d9cb0 Author: Ihor Antonov AuthorDate: 2023-03-18 05:43:35 +0000 Commit: Kyle Evans CommitDate: 2023-04-09 22:49:51 +0000 daemon: remove unnecessary memset in daemon_state_init() (cherry picked from commit 8117ea0a413150dccc05ea376596b98c4b1855e6) --- usr.sbin/daemon/daemon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c index 2a57d021258e..eb69fc87a827 100644 --- a/usr.sbin/daemon/daemon.c +++ b/usr.sbin/daemon/daemon.c @@ -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,