From nobody Wed Dec 04 12:04:13 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 4Y3GQj58C6z5gS34; Wed, 04 Dec 2024 12:04:13 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3GQj2nrwz46PY; Wed, 4 Dec 2024 12:04:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733313853; 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=V6SN++cWYyRY1f9VFAy9S7G1/lfo7FNmCRZY/AFY1uU=; b=vlscyLPKeQO5SzLc2RPCDFTQUwCbCGONIrp1dtBITOmMhf0ipeJn3MurA2cScVfM8viEkI 2nFwaLHSA5qzx6OU9A/4oTA2pHr5P4yNAJBA069OB48Hs8EolmCoDRC5tlmFPWvZWKCljp hiIafD4iZCClvLCy8Xp92B9gzi1ND6pJ3nk3gOdlztTkNQSRCs8lLgdCtqf/PujZbVUXM/ 8J0rHotBuZ6RlIReZ4HdtfZ40jMeChGOjQmt+lNB3b40sbRAqmMPPSVaWmLx/mVmn6LQ9/ j8aIrkKSmPC8YCKPjxEVlz6b57cmNpF6r/qOZJbhRT6PDlh6b3BSTnZD4tqPcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733313853; 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=V6SN++cWYyRY1f9VFAy9S7G1/lfo7FNmCRZY/AFY1uU=; b=Bwn1xa4lE1lp3Mt+OJm8rXxYSV1w1EaHbA52oojSLh7WoNd9OnUEy2Iuo1j9lJDRPOZ3Py WUt+RchjzVn/snN6B7ntmg9xx+vzHfdgyRRPj6zP5P/boc8F4Y6TJ+mnShhfrzXdZErFhg QZEybILY9AesnfJGPhprYO5bvfCRIbk5sElsqVslw27sIgygnzkOikEmTqwMFREhjnEOF5 L8jnC3/FGB3ToGplxdtVm2LgvgKbIX9fsiFXgt28voQINtZfI3cGsSnQgxDIvfBDFF1zYy vZ9UA3LvgbbWxUErHA2nmhiWpG12XogpZvA9ultzDaIjhIbR9dfDqKOb0V2WmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733313853; a=rsa-sha256; cv=none; b=SctAwsd3d31BhcP8I9cZHgPgVIvmfYLtlz6xOrKrSbSFsjcABms7/NmGxqwHd6+ItNseXr +WCrAw0SPljnublzWe9jdzpQUzvaDLd3qPa5ebKhnWv1//YxVkUGIxi/jZWO8L8uSPW4pf EaYWQXzIXJ/U6Q9HtSWynj5485UhLrWD3q3PmH2i/xeIshu6dzsRpq9wcr63YTKe2S3SfP GbRlrYN6wLYDewGbDHwzRDob38C13entv+WAruKTqpU4770DfapqFCG+fS2NwbR5Gbnj7D sequu8leCxdma1Z82K/kcTA+ZfFYn218joUg3m9MunB4uztu0QsyO+kQZ9Qw/A== 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 4Y3GQj10CCz16F8; Wed, 4 Dec 2024 12:04:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B4C4DG9049786; Wed, 4 Dec 2024 12:04:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B4C4Dib049783; Wed, 4 Dec 2024 12:04:13 GMT (envelope-from git) Date: Wed, 4 Dec 2024 12:04:13 GMT Message-Id: <202412041204.4B4C4Dib049783@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: 732bb2807dc8 - stable/14 - sound: Remove unused code from pcm/g711.h 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: 732bb2807dc8dcc13822e6511e1703cce26a27cd Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=732bb2807dc8dcc13822e6511e1703cce26a27cd commit 732bb2807dc8dcc13822e6511e1703cce26a27cd Author: Christos Margiolis AuthorDate: 2024-12-02 16:26:32 +0000 Commit: Christos Margiolis CommitDate: 2024-12-04 12:03:36 +0000 sound: Remove unused code from pcm/g711.h These routines are already implemented in pcm/intpcm.h. No functional change intended. Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch, markj Differential Revision: https://reviews.freebsd.org/D47734 (cherry picked from commit b882251204128388eb2f8e4f74e83ff1ca7863c4) --- sys/dev/sound/pcm/g711.h | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/sys/dev/sound/pcm/g711.h b/sys/dev/sound/pcm/g711.h index fe9ddb651c8b..b7a57dd17a6b 100644 --- a/sys/dev/sound/pcm/g711.h +++ b/sys/dev/sound/pcm/g711.h @@ -187,37 +187,4 @@ static const struct { \ U8_TO_ULAW, U8_TO_ALAW \ } -#define G711_DECLARE_OP(t) \ -static __inline intpcm_t \ -pcm_read_ulaw(uint8_t v) \ -{ \ - \ - return (_G711_TO_INTPCM((t).ulaw_to_u8, v)); \ -} \ - \ -static __inline intpcm_t \ -pcm_read_alaw(uint8_t v) \ -{ \ - \ - return (_G711_TO_INTPCM((t).alaw_to_u8, v)); \ -} \ - \ -static __inline void \ -pcm_write_ulaw(uint8_t *dst, intpcm_t v) \ -{ \ - \ - *dst = _INTPCM_TO_G711((t).u8_to_ulaw, v); \ -} \ - \ -static __inline void \ -pcm_write_alaw(uint8_t *dst, intpcm_t v) \ -{ \ - \ - *dst = _INTPCM_TO_G711((t).u8_to_alaw, v); \ -} - -#define G711_DECLARE(t) \ - G711_DECLARE_TABLE(t); \ - G711_DECLARE_OP(t) - #endif /* !_SND_G711_H_ */