summaryrefslogtreecommitdiffstats
path: root/sound/core/oss/linear.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/linear.c
parenta110133d4c56a56d927e4fba68317212969fddbd (diff)
downloadlinux-887f9f0253ba4a52f38810f3056cdf040a6157b3.tar.bz2
[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/linear.c')
-rw-r--r--sound/core/oss/linear.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/core/oss/linear.c b/sound/core/oss/linear.c
index 5b1bcdc64779..a3cfe7cb5873 100644
--- a/sound/core/oss/linear.c
+++ b/sound/core/oss/linear.c
@@ -21,9 +21,6 @@
*/
#include <sound/driver.h>
-
-#ifdef CONFIG_SND_PCM_OSS_PLUGINS
-
#include <linux/time.h>
#include <sound/core.h>
#include <sound/pcm.h>
@@ -159,5 +156,3 @@ int snd_pcm_plugin_build_linear(struct snd_pcm_substream *plug,
*r_plugin = plugin;
return 0;
}
-
-#endif