summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/mixer.h
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2009-06-11 09:06:09 +0000
committerariff <ariff@FreeBSD.org>2009-06-11 09:06:09 +0000
commit2432cecd0718fc9ef57951b22971c0f74ca85ca6 (patch)
tree359c3b24630ebca8ab1ff01f74d4f45ba1dd7ebd /sys/dev/sound/pcm/mixer.h
parent3f57ef9c14686faaba8d18593186246e08ad3e59 (diff)
downloadFreeBSD-src-2432cecd0718fc9ef57951b22971c0f74ca85ca6.zip
FreeBSD-src-2432cecd0718fc9ef57951b22971c0f74ca85ca6.tar.gz
Remove custom KOBJMETHOD(), CHANNEL_DECLARE() and MIXER_DECLARE()
(enabled with SND_DEBUG) that was intended to provoke build failure due to inconsistencies.
Diffstat (limited to 'sys/dev/sound/pcm/mixer.h')
-rw-r--r--sys/dev/sound/pcm/mixer.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/sound/pcm/mixer.h b/sys/dev/sound/pcm/mixer.h
index 4248a9c..52b7cbd 100644
--- a/sys/dev/sound/pcm/mixer.h
+++ b/sys/dev/sound/pcm/mixer.h
@@ -74,15 +74,4 @@ extern int mixer_count;
#define MIXER_SIZE (512 + sizeof(struct kobj) + \
sizeof(oss_mixer_enuminfo))
-#ifdef SND_DEBUG
-#define MIXER_DECLARE(mixer) \
- static struct kobj_class mixer##_class = { \
- .name = #mixer, \
- .methods = mixer##_methods, \
- .size = MIXER_SIZE, \
- .baseclasses = NULL, \
- .refs = 0 \
- }
-#else
#define MIXER_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, MIXER_SIZE)
-#endif
OpenPOWER on IntegriCloud