git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
sound
/
core
/
seq
/
oss
/
seq_oss.c
diff --git
a/sound/core/seq/oss/seq_oss.c
b/sound/core/seq/oss/seq_oss.c
index
b991978
..
92858cf
100644
(file)
--- a/
sound/core/seq/oss/seq_oss.c
+++ b/
sound/core/seq/oss/seq_oss.c
@@
-291,7
+291,6
@@
register_proc(void)
entry->content = SNDRV_INFO_CONTENT_TEXT;
entry->private_data = NULL;
entry->content = SNDRV_INFO_CONTENT_TEXT;
entry->private_data = NULL;
- entry->c.text.read_size = 1024;
entry->c.text.read = info_read;
if (snd_info_register(entry) < 0) {
snd_info_free_entry(entry);
entry->c.text.read = info_read;
if (snd_info_register(entry) < 0) {
snd_info_free_entry(entry);
@@
-304,8
+303,7
@@
register_proc(void)
static void
unregister_proc(void)
{
static void
unregister_proc(void)
{
- if (info_entry)
- snd_info_unregister(info_entry);
+ snd_info_free_entry(info_entry);
info_entry = NULL;
}
#endif /* CONFIG_PROC_FS */
info_entry = NULL;
}
#endif /* CONFIG_PROC_FS */