From nobody Sat Mar 18 05:53:42 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 4PdqtZ4zTtz3y8MF; Sat, 18 Mar 2023 05:53:42 +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 4PdqtZ3s3mz3FXn; Sat, 18 Mar 2023 05:53:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679118822; 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=cw4yfITP5mW/Oo4VS/1XLxnGIL4mdoPliHbvmiN1EtU=; b=DLO4DYcQGr8w+VsMQJq1ipowCmPCg8vGn7fimR9GYDIrRZ8zaWBi6p7dt9iS92y3EqP217 wAs9eEDjZD1+ay5lYVlt23jFpo5B53zBCEu88VyE3ltUPvmsdU6Fz0fLm/ilbHtPqs4DVU wCAIIgoR8Vmsa7jroO/MVS+9iaQsWxzheaJwawl1c3ULVAxNMvdqmpuSe8LLYc7KZ1FpiN Q/axK6P7N8v96Dfvd4yMuBZLbNlDN4nrhyBMeE4XsoAX40x0SliaFZY+GswL2/HyBlHPSb 2jl2g4aticGjcLxjazONoEcSeeSAygHpoFHfu3zF1l7f2l0OIx9Jw8MLziqqkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679118822; 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=cw4yfITP5mW/Oo4VS/1XLxnGIL4mdoPliHbvmiN1EtU=; b=YE2/xujtD9WuBu7WTbenUQDNSIeeLyTVi1E9DXaI6yiMPj66jgke5AWE+BLk8aiLCYbpbd c51sbljfHKt+6Q1w+bavvTTF1KEXQYuV8lt1LQHWWtKaU/566k48oHlTCOa2nfJKaZ8r1o R6DoFvM9l7x1F9Y5kffryaelPEjTRl2MF6CyLcjLT7RULrsZU/3doeZ9eOtxgPHwYnVe8u gNhH5OEmVGb9bmCVEU483lEOERuykXJoKqa7H69ZEGwGPtK2jYjr2+AvcVxLN69/HIxUTn kcCiBt0wGmUVW0Ez7RlQphbkF00jtpPUcTafwY+QajPDTmx0h1CgrLiiHyBiVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679118822; a=rsa-sha256; cv=none; b=n3lNFV6WLaEVJDjbG8Pe1rolN2mJw8YWQvNbeGZ/tfxleQ5r3Hn6j3m3S5W0AFM9yg2Uub IVCIW+ffjT3yBIgLMovpEtYvuwLjEZ/Oxw8lb/uv0Q/TJjLtuXOsDPcyiwvwE+u/kRsMto 7MCd8BW+bXRN9SNO9xTY3M4sSmm1YdrdfUdaDPcw2iBeYZSK0bh/mu3UUl5RJh1B5PCxiI Ms5OABNOWF4ZzLyYM1CCFs0Z/sJF3zTWRaoXE9SBRCDWChkHcY4/DRTGh8reB73QrOW4Ao zDixVXcPtWdy9t2D6hEbNvcYDoBM3kqs0bll3+wXlSHYi/62gfog/R3hNCzCmg== 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 4PdqtZ2VdPzwbj; Sat, 18 Mar 2023 05:53:42 +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 32I5rgPR088951; Sat, 18 Mar 2023 05:53:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32I5rgZm088950; Sat, 18 Mar 2023 05:53:42 GMT (envelope-from git) Date: Sat, 18 Mar 2023 05:53:42 GMT Message-Id: <202303180553.32I5rgZm088950@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: 8117ea0a4131 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 8117ea0a413150dccc05ea376596b98c4b1855e6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=8117ea0a413150dccc05ea376596b98c4b1855e6 commit 8117ea0a413150dccc05ea376596b98c4b1855e6 Author: Ihor Antonov AuthorDate: 2023-03-18 05:43:35 +0000 Commit: Kyle Evans CommitDate: 2023-03-18 05:52:59 +0000 daemon: remove unnecessary memset in daemon_state_init() Pull Request: https://github.com/freebsd/freebsd-src/pull/694 --- 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,