X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fsound%2Finfo.h;h=74f6996769c7db6d706d77a60be3eabf8cec0d25;hb=a1836a42daf5ddfe9a891973734bd9a7d62eb504;hp=4812843898559ef74bc308b586c30f27d797e28f;hpb=7e4eeec8a30fa9e00cac67a37ca9ddf6cbdb79c4;p=powerpc.git diff --git a/include/sound/info.h b/include/sound/info.h index 4812843898..74f6996769 100644 --- a/include/sound/info.h +++ b/include/sound/info.h @@ -40,8 +40,6 @@ struct snd_info_buffer { struct snd_info_entry; struct snd_info_entry_text { - unsigned long read_size; - unsigned long write_size; void (*read) (struct snd_info_entry *entry, struct snd_info_buffer *buffer); void (*write) (struct snd_info_entry *entry, struct snd_info_buffer *buffer); }; @@ -132,11 +130,9 @@ int snd_card_proc_new(struct snd_card *card, const char *name, struct snd_info_e static inline void snd_info_set_text_ops(struct snd_info_entry *entry, void *private_data, - long read_size, void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) { entry->private_data = private_data; - entry->c.text.read_size = read_size; entry->c.text.read = read; } @@ -167,7 +163,6 @@ static inline int snd_card_proc_new(struct snd_card *card, const char *name, struct snd_info_entry **entryp) { return -EINVAL; } static inline void snd_info_set_text_ops(struct snd_info_entry *entry __attribute__((unused)), void *private_data, - long read_size, void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) {} static inline int snd_info_check_reserved_words(const char *str) { return 1; }