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

Commit 658355b5 authored by Fabian Frederick's avatar Fabian Frederick Committed by Takashi Iwai
Browse files

ALSA: oss: don't opencode IS_REACHABLE()



Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7e1b23b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2501,7 +2501,7 @@ static long snd_pcm_oss_ioctl(struct file *file, unsigned int cmd, unsigned long
		return put_user(SNDRV_OSS_VERSION, p);
	if (cmd == OSS_ALSAEMULVER)
		return put_user(1, p);
#if defined(CONFIG_SND_MIXER_OSS) || (defined(MODULE) && defined(CONFIG_SND_MIXER_OSS_MODULE))
#if IS_REACHABLE(CONFIG_SND_MIXER_OSS)
	if (((cmd >> 8) & 0xff) == 'M')	{	/* mixer ioctl - for OSS compatibility */
		struct snd_pcm_substream *substream;
		int idx;