summaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-29 07:46:05 +0200
committerTakashi Iwai <tiwai@suse.de>2015-05-29 07:46:05 +0200
commit41960d9592a1da97a8b0771897e3d085abf1e428 (patch)
tree26abaec98cd62441621d8872a22224233a50aa4c /sound/drivers
parentb816db9d36d3ff53c0cfa4068cc7e03249e3c45f (diff)
downloadlinux-stable-41960d9592a1da97a8b0771897e3d085abf1e428.tar.gz
linux-stable-41960d9592a1da97a8b0771897e3d085abf1e428.tar.bz2
linux-stable-41960d9592a1da97a8b0771897e3d085abf1e428.zip
ALSA: aloop: Drop unnecessary ifdef CONFIG_PROC_FS
Since the compiler can optimize away the unused code, we can reduce the messy ifdef. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/aloop.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
index 7f9126efc1e5..54f348a4fb78 100644
--- a/sound/drivers/aloop.c
+++ b/sound/drivers/aloop.c
@@ -1053,8 +1053,6 @@ static int loopback_mixer_new(struct loopback *loopback, int notify)
return 0;
}
-#ifdef CONFIG_PROC_FS
-
static void print_dpcm_info(struct snd_info_buffer *buffer,
struct loopback_pcm *dpcm,
const char *id)
@@ -1128,12 +1126,6 @@ static int loopback_proc_new(struct loopback *loopback, int cidx)
return 0;
}
-#else /* !CONFIG_PROC_FS */
-
-#define loopback_proc_new(loopback, cidx) do { } while (0)
-
-#endif
-
static int loopback_probe(struct platform_device *devptr)
{
struct snd_card *card;