git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull osi into release branch
[sfrench/cifs-2.6.git]
/
sound
/
core
/
sound.c
diff --git
a/sound/core/sound.c
b/sound/core/sound.c
index 70600df94d62e3ef6d3d38566e9699a92bcfa7f4..8dc7a3b32b98482bc12f1b60aa6cb25352d41bf3 100644
(file)
--- a/
sound/core/sound.c
+++ b/
sound/core/sound.c
@@
-446,8
+446,7
@@
static void __exit alsa_sound_exit(void)
{
snd_info_minor_unregister();
snd_info_done();
- if (unregister_chrdev(major, "alsa") != 0)
- snd_printk(KERN_ERR "unable to unregister major device number %d\n", major);
+ unregister_chrdev(major, "alsa");
}
module_init(alsa_sound_init)