From nobody Fri Mar 29 15:33:01 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 4V5kv1649xz5DZ7Q; Fri, 29 Mar 2024 15:33:01 +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 4V5kv13dGQz4Jmk; Fri, 29 Mar 2024 15:33:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711726381; 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=Oh4asMvNkyoCWPHxKlgoIeRZ+WL2jlGuXOhwFXfBkl8=; b=Q/YmJaRHBvOYoei3bPpmbu0Rlkk0CsxqawM+UcT5Xom6AN57dHI9XkQBpgSxOZxVphRB9b GsMWTsXkdSn1NxKwCko/e2xMAL/Ia5vRNra0XaPciv0aYtEnXFfofju1HYWh5+fJFbwAlh A6C6lb8eqN0RHLoOtZUoytGUYeuPAJRCa8R1t961tgN7Q4orAQey54sLe5In8euBnmBqwN Sludite+yYROHY45IPJe/Cgbq+2fzsk+K8PepLxfoiBD4mZenG4qMlu/xRfW9djbKc7GyC PseU3mlewflg4qFiYshZE8a8MmblsT5jF+/BEmM9CfzhJ1bb/x9GLQQgHrbRZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711726381; a=rsa-sha256; cv=none; b=g7aLEkW0iFvi+ENQlq0TVYxWBrchj9xtzfy5tx2PGnMESaquq8ek1aD5wq/g4HDEilsR6H ESOModHKXXlMxN3+VdGsxnXHgJfDwrgoy+1nLgV4W3slbbDTJDlDS7N71I98ATZc3ePwoE EPqsGgZOggpqL44qP5nNibd2qFizC3rNrvPOUaZZWn3o8497c1lmB2+1IT64qOADbAl/RU 7NYGTPXVJXFFJr4TDDzslx3OPjrk92Iot7xA1VM+7eLzI3MTX6y/rbfTeUDCEBqPjb+JfL 3gVuFv9snMjwOjjpo6tzSp615rDXgmssYA/uj14uiNV6blDbweD+pMFdsS3U7g== 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=1711726381; 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=Oh4asMvNkyoCWPHxKlgoIeRZ+WL2jlGuXOhwFXfBkl8=; b=LwJZ+996ER43a78cdiMt850JkVXjn3+uLqXKyxlxjlW1kJhNeh9/s2NUCwjm0U2KSzlcQV dIKm/7++vN5kGMgBz5FAe1m/gFcAsQCVqFpvRLbn1ORTJZlMhkV4+4eZTx+FYRWn3PoEyR KCbfNLqDF4s6tNEzW04LeAKZRC4NB6xySkTuMNQ70UG9M/vNdSeqxlfaWSxbqcSjmkkzco uL/kweDaG9TSNvveBsx5535ISXKCpYNEX95BBfxjJLpJgtGTCQRQy95KjEeOLC+I0cawJE naohpxzqoiPllFJZGim+aP/kTOIwR/lX41nPyLGyTYkxjWjELXrCvDIg5lqNyg== 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 4V5kv13BktzGXL; Fri, 29 Mar 2024 15:33:01 +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 42TFX1cC011495; Fri, 29 Mar 2024 15:33:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42TFX1xS011492; Fri, 29 Mar 2024 15:33:01 GMT (envelope-from git) Date: Fri, 29 Mar 2024 15:33:01 GMT Message-Id: <202403291533.42TFX1xS011492@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: b5e55dbf3574 - main - sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants 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: christos X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b5e55dbf357472ffa39345b30b8b781e988a440f Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=b5e55dbf357472ffa39345b30b8b781e988a440f commit b5e55dbf357472ffa39345b30b8b781e988a440f Author: Christos Margiolis AuthorDate: 2024-03-29 15:32:38 +0000 Commit: Christos Margiolis CommitDate: 2024-03-29 15:32:38 +0000 sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D44554 --- sys/dev/sound/pcm/sound.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index 0a8144e97c24..51d1624b2d7e 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -287,9 +287,6 @@ struct snd_mixer; #define SND_DEV_DSP_SPDIFOUT 19 /* /dev/dsp_spdifout */ #define SND_DEV_DSP_SPDIFIN 20 /* /dev/dsp_spdifin */ -#define SND_DEV_LAST SND_DEV_DSP_SPDIFIN -#define SND_DEV_MAX PCMMAXDEV - #define DSP_DEFAULT_SPEED 8000 #define ON 1