summaryrefslogtreecommitdiffstats
path: root/sound/core/oss/pcm_plugin.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/pcm_plugin.c
parenta110133d4c56a56d927e4fba68317212969fddbd (diff)
downloadblackbird-op-linux-887f9f0253ba4a52f38810f3056cdf040a6157b3.tar.gz
blackbird-op-linux-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/pcm_plugin.c')
-rw-r--r--sound/core/oss/pcm_plugin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/core/oss/pcm_plugin.c b/sound/core/oss/pcm_plugin.c
index 0e67dd280a5d..c0afb92869d3 100644
--- a/sound/core/oss/pcm_plugin.c
+++ b/sound/core/oss/pcm_plugin.c
@@ -25,9 +25,6 @@
#endif
#include <sound/driver.h>
-
-#ifdef CONFIG_SND_PCM_OSS_PLUGINS
-
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/vmalloc.h>
@@ -740,5 +737,3 @@ int snd_pcm_area_copy(const struct snd_pcm_channel_area *src_area, size_t src_of
}
return 0;
}
-
-#endif
OpenPOWER on IntegriCloud