ALSA: opl3: don't opencode IS_REACHABLE()
authorFabian Frederick <fabf@skynet.be>
Sat, 12 Nov 2016 08:28:33 +0000 (09:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Nov 2016 09:11:36 +0000 (10:11 +0100)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/opl3/opl3_lib.c

index 369cef212ea90a8c0798cc204ad8fc9cfe075053..cd9e9f31720f2b0980f7ce59c471eacce3ca35f1 100644 (file)
@@ -528,7 +528,7 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
 
        opl3->hwdep = hw;
        opl3->seq_dev_num = seq_device;
-#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
+#if IS_REACHABLE(CONFIG_SND_SEQUENCER)
        if (snd_seq_device_new(card, seq_device, SNDRV_SEQ_DEV_ID_OPL3,
                               sizeof(struct snd_opl3 *), &opl3->seq_dev) >= 0) {
                strcpy(opl3->seq_dev->name, hw->name);