aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/emu10k1/emu10k1x.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c
index bda8bdf59935..da1610a571b8 100644
--- a/sound/pci/emu10k1/emu10k1x.c
+++ b/sound/pci/emu10k1/emu10k1x.c
@@ -1626,12 +1626,7 @@ static struct pci_driver driver = {
1626// initialization of the module 1626// initialization of the module
1627static int __init alsa_card_emu10k1x_init(void) 1627static int __init alsa_card_emu10k1x_init(void)
1628{ 1628{
1629 int err; 1629 return pci_register_driver(&driver);
1630
1631 if ((err = pci_register_driver(&driver)) > 0)
1632 return err;
1633
1634 return 0;
1635} 1630}
1636 1631
1637// clean up the module 1632// clean up the module