diff options
author | Jaroslav Kysela <perex@suse.cz> | 2004-11-29 12:26:43 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2004-11-29 12:26:43 +0100 |
commit | 92203838dd0d4c50b1ae982d0d7d01d0a330680b (patch) | |
tree | 29e7c01ee3d84cba184472092c75d4a853bab715 /sound | |
parent | ae2dc61577fb807a68511a65e724e6f6ae928e0e (diff) | |
download | history-92203838dd0d4c50b1ae982d0d7d01d0a330680b.tar.gz |
[ALSA] misc clean up
Intel8x0 driver
Clean up the module init code after removal of midi/joystick support.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/intel8x0.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index a31bdc961cad24..f2bd304a46c28d 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c @@ -2777,11 +2777,7 @@ static struct pci_driver driver = { static int __init alsa_card_intel8x0_init(void) { - int err; - - if ((err = pci_module_init(&driver)) < 0) - return err; - return 0; + return pci_module_init(&driver); } static void __exit alsa_card_intel8x0_exit(void) |