From nobody Tue May 21 17:53:54 2024 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 4VkMW64gv5z5Ltn1; Tue, 21 May 2024 17:53:54 +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 4VkMW646mDz4rGY; Tue, 21 May 2024 17:53:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716314034; 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=qUHgV+dvTAZhZcffN0nKM/1XFfQGiZR9DD/U23+2cpk=; b=UOFBk6xYSM2TM5Gv0lfmv/f1wyT/PU5RbWxF1dFxIq41TQDnrJ/qbUQDDb4uk+0Gb5SNwN ODaTSRyx5GOcX/MCOBylKLQSMTf3Luu0d0BR6sfguK4UlfRMP5ERLzO0bIqVspQ76/UaYl 64rArAybvEyxcYEQqriNqrCsjy9Fr6NSqF55jrpScXXx2aT+/ej0Ff+rkIbW/5mfydkYZg uIRKVRBIHMnm7GVA296Ls0q8BZ6Y56kaceJv0tl9i3LwG8sZjVlGNQB5lpcWxG34jDNHKQ jefLQniKAK6DTAfS0+KrNMZ/YpGSQnC/HSZlLs2KK5laG4R9rGrEMesidlCkGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716314034; a=rsa-sha256; cv=none; b=X5A9zMFA1ejvVQPxawIzfD8Cel3yVgGaaZBNK/64XTDjBvfJNQcBtgTHqY/0JX6kc3XYDX 6j1R5LfP2q0d9CtHG0ljHwP8zmfO3pNCd0iI3bhecQGmlkO4XsSK6Ex6K+bjhmXZgLC3sg rkDQw++Imth4Gz5aNKeCKqMqGqZhNiF/BR4Uvv9GVepXGGPAO6rw0pEHEA9e8f8qzutstq igFmnTkHpMvUBLGq6lwU4Zda5bkhv9DOdg2hbG2Y27YGVjwkwAb5SaWN2q44CWP3YGOq2D CxLwIowNfDTRtha4G+oYicvg/yA3iIA48ODj9P2lWDSn3KhyfjpPqvikiylG2Q== 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=1716314034; 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=qUHgV+dvTAZhZcffN0nKM/1XFfQGiZR9DD/U23+2cpk=; b=E7uAUHIiQcqXSxJt4V6yrFxtwYIn2SL0E8OVrFAu1MHB7PahuduXz/jcWvviWPMYvBBk3f T1bPcWN8/4+f7aonSCIxG/FrbVHmwg5LA2HzkafPWkJVZi4tVctrbvXEMLKiiGT07Ufewh aUhHI8GB2tbf7IG7xB7lx+QuN9M0CPnqS6pVilH89T27HQ8sSNLwqJ6w5mjpFSpWiOYDL8 mplNkrB5Y6+ZKNXnItlrayO3CkY66aNtqMIWw5GqxyjDgDelMIuUABoCy5Q8c+X7+cUvjA a2bZo34i06PDOldpmp9C0Y0NtLYx14VAURRfhTJnc+TnQPEVi4TRsEaBnQwMxw== 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 4VkMW63jm4zXbJ; Tue, 21 May 2024 17:53:54 +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 44LHrsml021605; Tue, 21 May 2024 17:53:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44LHrsWA021602; Tue, 21 May 2024 17:53:54 GMT (envelope-from git) Date: Tue, 21 May 2024 17:53:54 GMT Message-Id: <202405211753.44LHrsWA021602@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 8a15d5e7223d - stable/14 - sound: Get rid of redundant assignments in chn_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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 8a15d5e7223d0df2cbba63ad0b1ea453d528e711 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=8a15d5e7223d0df2cbba63ad0b1ea453d528e711 commit 8a15d5e7223d0df2cbba63ad0b1ea453d528e711 Author: Christos Margiolis AuthorDate: 2024-05-20 14:14:17 +0000 Commit: Christos Margiolis CommitDate: 2024-05-21 17:45:30 +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 (cherry picked from commit 2db2292dac7331be5414f86c3ef7863c7b6a4ac6) --- 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;