summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/mixer.h
diff options
context:
space:
mode:
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