aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm/mixer.c
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2024-04-18 20:35:15 +0000
committerChristos Margiolis <christos@FreeBSD.org>2024-04-18 20:35:41 +0000
commit8b97dce6973ca1b6c3407c34c76d459f43ca1061 (patch)
tree48a3ec0b1f589f8e9be9a2cc48a8e6abd6cc41fd /sys/dev/sound/pcm/mixer.c
parent17969e696325273e250a1dc73f43de76c0836aae (diff)
downloadsrc-8b97dce6973ca1b6c3407c34c76d459f43ca1061.tar.gz
src-8b97dce6973ca1b6c3407c34c76d459f43ca1061.zip
sound: Remove PCMMINOR()
It's a NO-OP. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D44854
Diffstat (limited to 'sys/dev/sound/pcm/mixer.c')
-rw-r--r--sys/dev/sound/pcm/mixer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c
index 9a83fc305bc7..0178e1ae8c3e 100644
--- a/sys/dev/sound/pcm/mixer.c
+++ b/sys/dev/sound/pcm/mixer.c
@@ -765,8 +765,8 @@ mixer_init(device_t dev, kobj_class_t cls, void *devinfo)
mixer_setrecsrc(m, 0); /* Set default input. */
devunit = snd_mkunit(unit, SND_DEV_CTL, 0);
- pdev = make_dev(&mixer_cdevsw, PCMMINOR(devunit),
- UID_ROOT, GID_WHEEL, 0666, "mixer%d", unit);
+ pdev = make_dev(&mixer_cdevsw, devunit, UID_ROOT, GID_WHEEL, 0666,
+ "mixer%d", unit);
pdev->si_drv1 = m;
snddev->mixer_dev = pdev;