From 4138091c6e8f5741f136e4c5a18349818e472299 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Fri, 22 Jun 2007 21:41:16 +0000 Subject: [PATCH] Remove unused variable. --- sys/dev/sound/pcm/mixer.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index fb0a6cf9a5..57b3cd6aa4 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.5 2007/05/13 20:53:39 ariff Exp $ - * $DragonFly: src/sys/dev/sound/pcm/mixer.c,v 1.17 2007/06/16 20:07:22 dillon Exp $ + * $DragonFly: src/sys/dev/sound/pcm/mixer.c,v 1.18 2007/06/22 21:41:16 corecode Exp $ */ #include @@ -32,7 +32,7 @@ #include "mixer_if.h" -SND_DECLARE_FILE("$DragonFly: src/sys/dev/sound/pcm/mixer.c,v 1.17 2007/06/16 20:07:22 dillon Exp $"); +SND_DECLARE_FILE("$DragonFly: src/sys/dev/sound/pcm/mixer.c,v 1.18 2007/06/22 21:41:16 corecode Exp $"); MALLOC_DEFINE(M_MIXER, "mixer", "mixer"); @@ -671,8 +671,6 @@ mixer_ioctl(struct dev_ioctl_args *ap) * set its vchan, and fails to use the correct fd. */ if (j == SOUND_MIXER_PCM) { - cdev_t pdev; - if (vchanvolume(i_dev, (cmd & MIXER_WRITE(0)) == MIXER_WRITE(0), (int *)arg, &ret, curthread)) -- 2.41.0