diff options
Diffstat (limited to 'sound/core/init.c')
-rw-r--r-- | sound/core/init.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/core/init.c b/sound/core/init.c index b145d17ba3b2..2ff0e5e90865 100644 --- a/sound/core/init.c +++ b/sound/core/init.c | |||
@@ -69,7 +69,6 @@ static inline int init_info_for_card(struct snd_card *card) | |||
69 | snd_printd("unable to create card entry\n"); | 69 | snd_printd("unable to create card entry\n"); |
70 | return err; | 70 | return err; |
71 | } | 71 | } |
72 | entry->c.text.read_size = PAGE_SIZE; | ||
73 | entry->c.text.read = snd_card_id_read; | 72 | entry->c.text.read = snd_card_id_read; |
74 | if (snd_info_register(entry) < 0) { | 73 | if (snd_info_register(entry) < 0) { |
75 | snd_info_free_entry(entry); | 74 | snd_info_free_entry(entry); |
@@ -592,7 +591,6 @@ int __init snd_card_info_init(void) | |||
592 | entry = snd_info_create_module_entry(THIS_MODULE, "cards", NULL); | 591 | entry = snd_info_create_module_entry(THIS_MODULE, "cards", NULL); |
593 | if (! entry) | 592 | if (! entry) |
594 | return -ENOMEM; | 593 | return -ENOMEM; |
595 | entry->c.text.read_size = PAGE_SIZE; | ||
596 | entry->c.text.read = snd_card_info_read; | 594 | entry->c.text.read = snd_card_info_read; |
597 | if (snd_info_register(entry) < 0) { | 595 | if (snd_info_register(entry) < 0) { |
598 | snd_info_free_entry(entry); | 596 | snd_info_free_entry(entry); |
@@ -603,7 +601,6 @@ int __init snd_card_info_init(void) | |||
603 | #ifdef MODULE | 601 | #ifdef MODULE |
604 | entry = snd_info_create_module_entry(THIS_MODULE, "modules", NULL); | 602 | entry = snd_info_create_module_entry(THIS_MODULE, "modules", NULL); |
605 | if (entry) { | 603 | if (entry) { |
606 | entry->c.text.read_size = PAGE_SIZE; | ||
607 | entry->c.text.read = snd_card_module_info_read; | 604 | entry->c.text.read = snd_card_module_info_read; |
608 | if (snd_info_register(entry) < 0) | 605 | if (snd_info_register(entry) < 0) |
609 | snd_info_free_entry(entry); | 606 | snd_info_free_entry(entry); |