Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41960d95 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent b816db9d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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;