From nobody Mon May 20 14:14:42 2024 X-Original-To: dev-commits-src-main@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 4Vjfhg1T9zz5LLQ2; Mon, 20 May 2024 14:14:43 +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 4Vjfhg0x3Vz4W4f; Mon, 20 May 2024 14:14:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716214483; 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=S4iQoKYnRoAT4B9GCTpZnrY32E/z5YoJreyPGtbQDfQ=; b=f1mHoxdyO4uAUKm+92ZGm6tPgqhxM9vJLgQPsBzAkR8HuScuBzX+loLcfocJL12/GCzat8 Lcjz7sptRlSG/VEIXhIFMQNbzesIClKSgrSEbn+yQenM8VZ/varrLrUhiNL3CKeK0S4/i3 4GCqYGFqnvklqBY6IRhmFlHtuWxhF+lbVbV0o2K5DRY5+MkmkANEqFDTEikAHRktQG3ZSi olWCYK15dqv5hLqPRpjjeV8pbT+v+saPX0FPXYnsZD7Iz1JaFX5IIN8qNWu5bvMkmkcNpS 7m84igwaFBN4BPXuoozCbCeHJj7P/xddGKshMejToZOQwS6vW4H/yy7aPGQqqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716214483; a=rsa-sha256; cv=none; b=NS8YM+rIpmN4g4AtWmkfMGxftZ8u8tN+ruNE3J6yI8rglRPQZlCYZbu0M8fD+rINsE53yK 6QQTbxdxNBPVwo4CWwmuF1tvxhEZCAVmeeTprVW5drOMMHmjZhVjYxNqXcNgf50SUzaIDi t4KUFn9spED0Xp8GHtpvWSJy01OEW5Ctz+Cd5FS7CZ7ixFDepXQSTCHr9LEVrRfOkNLLAa QOcq07DykepvqAgR9Se7zDImDkPuLVMLnIgSPPbiZ2/0OipCX7eu79rxi33JBfWU40FYq4 dA/AUZHD2UZqW8OY1xfXdYELAIBaiNML/c68Oni35rc4Lybf2ueKr9ftZya55A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716214483; 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=S4iQoKYnRoAT4B9GCTpZnrY32E/z5YoJreyPGtbQDfQ=; b=Gb0u7LaBu3rCzuYndpaNG4LecPYNcTBknq5YZG+lkHA3Qcif3qEyjC2B31WgdFOGJb2ElC MO8Hnm+6zSPdGxNgWhi5Q1H+m6gJ3xKFe+NVenHSgFyPTNSvaJHKgUorKUGdm45T3oSzjW RsCxOD0N1xu1HCeFcniPXSudU/hTzSK0FpX4oz6Qqa8GbDq/w1rtxo360rgk6/NxTZW15c HiDwQyvTwEDfBGxbxBGrLTuuQS0EoYPEaBPf8jvQJWDKeRkJntcF8Slh28dfHgJQaoeYvU gYc5nv1xJE/uU2waf7PQcPvdi0ygw6iDOO256oZVgPHoQYaWlukjtDDdmAfyng== 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 4Vjfhg0XSCzhL9; Mon, 20 May 2024 14:14:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44KEEgun014282; Mon, 20 May 2024 14:14:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44KEEg71014279; Mon, 20 May 2024 14:14:42 GMT (envelope-from git) Date: Mon, 20 May 2024 14:14:42 GMT Message-Id: <202405201414.44KEEg71014279@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 2db2292dac73 - main - sound: Get rid of redundant assignments in chn_init() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2db2292dac7331be5414f86c3ef7863c7b6a4ac6 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=2db2292dac7331be5414f86c3ef7863c7b6a4ac6 commit 2db2292dac7331be5414f86c3ef7863c7b6a4ac6 Author: Christos Margiolis AuthorDate: 2024-05-20 14:14:17 +0000 Commit: Christos Margiolis CommitDate: 2024-05-20 14:14:17 +0000 sound: Get rid of redundant assignments in chn_init() c is allocated with M_ZERO. Reported by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45273 --- sys/dev/sound/pcm/channel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index 846885b9d729..039d9abb9da2 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -1261,8 +1261,6 @@ chn_init(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t cls, bs = NULL; CHN_INIT(c, children); CHN_INIT(c, children.busy); - c->devinfo = NULL; - c->feeder = NULL; c->latency = -1; c->timeout = 1;