diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-12-01 04:49:58 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:08 -0500 |
commit | adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 (patch) | |
tree | e520ddca1f0cd5e9bb9afd14f3f226e2b1596e9a /sound/pci/emu10k1/emu10k1_main.c | |
parent | 8cb7b63f5baf7b5e788f0d632d5ebd018856416f (diff) |
[ALSA] Optimize for config without PROC_FS (pci drivers)
Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/emu10k1_main.c')
-rw-r--r-- | sound/pci/emu10k1/emu10k1_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index cc36b748d9a5..175f8aac8de5 100644 --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c | |||
@@ -1076,7 +1076,9 @@ int __devinit snd_emu10k1_create(struct snd_card *card, | |||
1076 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, emu, &ops)) < 0) | 1076 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, emu, &ops)) < 0) |
1077 | goto error; | 1077 | goto error; |
1078 | 1078 | ||
1079 | #ifdef CONFIG_PROC_FS | ||
1079 | snd_emu10k1_proc_init(emu); | 1080 | snd_emu10k1_proc_init(emu); |
1081 | #endif | ||
1080 | 1082 | ||
1081 | snd_card_set_dev(card, &pci->dev); | 1083 | snd_card_set_dev(card, &pci->dev); |
1082 | *remu = emu; | 1084 | *remu = emu; |