Merge tag 'char-misc-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[firefly-linux-kernel-4.4.55.git] / sound / drivers / opl4 / opl4_lib.c
index 3b0ee42a534336b83cf8f362184789ac6679538c..89c7aa04b3bcb7d65d811a3ca3ecd97779d7f49d 100644 (file)
@@ -176,9 +176,7 @@ static int snd_opl4_create_seq_dev(struct snd_opl4 *opl4, int seq_device)
 
 static void snd_opl4_free(struct snd_opl4 *opl4)
 {
-#ifdef CONFIG_PROC_FS
        snd_opl4_free_proc(opl4);
-#endif
        release_and_free_resource(opl4->res_fm_port);
        release_and_free_resource(opl4->res_pcm_port);
        kfree(opl4);
@@ -249,9 +247,7 @@ int snd_opl4_create(struct snd_card *card,
        snd_opl4_enable_opl4(opl4);
 
        snd_opl4_create_mixer(opl4);
-#ifdef CONFIG_PROC_FS
        snd_opl4_create_proc(opl4);
-#endif
 
 #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
        opl4->seq_client = -1;