summaryrefslogtreecommitdiff
path: root/sound/core/oss/mulaw.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-08 15:20:48 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:58:30 +0200
commit887f9f0253ba4a52f38810f3056cdf040a6157b3 (patch)
tree279fa93ac9f0977e0f0aed5f331e155c51f59cff /sound/core/oss/mulaw.c
parenta110133d4c56a56d927e4fba68317212969fddbd (diff)
downloadlwn-887f9f0253ba4a52f38810f3056cdf040a6157b3.tar.gz
lwn-887f9f0253ba4a52f38810f3056cdf040a6157b3.zip
[ALSA] Remove ifdefs from OSS PCM emulation codes
Fix Makefile to compile files conditionally to CONFIG_SND_PCM_OSS_PLUGINS, and remove unneeded ifdefs in these files. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/core/oss/mulaw.c')
-rw-r--r--sound/core/oss/mulaw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/core/oss/mulaw.c b/sound/core/oss/mulaw.c
index 2eb18807e6d0..91b62429b323 100644
--- a/sound/core/oss/mulaw.c
+++ b/sound/core/oss/mulaw.c
@@ -22,9 +22,6 @@
*/
#include <sound/driver.h>
-
-#ifdef CONFIG_SND_PCM_OSS_PLUGINS
-
#include <linux/time.h>
#include <sound/core.h>
#include <sound/pcm.h>
@@ -328,5 +325,3 @@ int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *plug,
*r_plugin = plugin;
return 0;
}
-
-#endif