diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-08-03 15:48:41 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-08-03 16:11:48 +0200 |
commit | a7da09fecf35cc1b328f0229c019757f6582f6bb (patch) | |
tree | 58f67cc5e6929cf049b6ed99b7ab2bfa55baf3b7 /sound/pci/ac97 | |
parent | ALSA: i2c: Remove empty init and exit (diff) | |
download | linux-a7da09fecf35cc1b328f0229c019757f6582f6bb.tar.xz linux-a7da09fecf35cc1b328f0229c019757f6582f6bb.zip |
ALSA: pci: Remove empty init and exit
For a sake of code simplification, remove the init and the exit
entries that do nothing.
Notes for readers: actually it's OK to remove *both* init and exit,
but not OK to remove the exit entry. By removing only the exit while
keeping init, the module becomes permanently loaded; i.e. you cannot
unload it any longer!
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ac97')
-rw-r--r-- | sound/pci/ac97/ac97_codec.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index 1ef7cdf1d3e8..f4459d1a9d67 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c @@ -2941,19 +2941,3 @@ int snd_ac97_tune_hardware(struct snd_ac97 *ac97, } EXPORT_SYMBOL(snd_ac97_tune_hardware); - -/* - * INIT part - */ - -static int __init alsa_ac97_init(void) -{ - return 0; -} - -static void __exit alsa_ac97_exit(void) -{ -} - -module_init(alsa_ac97_init) -module_exit(alsa_ac97_exit) |