]> err.no Git - linux-2.6/blobdiff - sound/core/sound_oss.c
[PATCH] SoftMAC: Prevent multiple authentication attempts on the same network
[linux-2.6] / sound / core / sound_oss.c
index c18f6a45e4d93249fcf4497547957160f14ec539..74f0fe5a1ba086c3aa5b7d531973eacfd5ecab24 100644 (file)
@@ -209,7 +209,7 @@ EXPORT_SYMBOL(snd_unregister_oss_device);
 
 #ifdef CONFIG_PROC_FS
 
-static struct snd_info_entry *snd_minor_info_oss_entry = NULL;
+static struct snd_info_entry *snd_minor_info_oss_entry;
 
 static const char *snd_oss_device_type_name(int type)
 {
@@ -258,7 +258,6 @@ int __init snd_minor_info_oss_init(void)
 
        entry = snd_info_create_module_entry(THIS_MODULE, "devices", snd_oss_root);
        if (entry) {
-               entry->c.text.read_size = PAGE_SIZE;
                entry->c.text.read = snd_minor_info_oss_read;
                if (snd_info_register(entry) < 0) {
                        snd_info_free_entry(entry);