aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/oss
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-04-28 09:13:41 -0400
committerJaroslav Kysela <perex@suse.cz>2006-06-22 15:33:09 -0400
commitbf850204a71a97eb5a6afaf27263bb667f9cab0a (patch)
tree2d917d9886a3488f1524699374d546d8bf6af88e /sound/core/oss
parent7e4eeec8a30fa9e00cac67a37ca9ddf6cbdb79c4 (diff)
[ALSA] Remove unneeded read/write_size fields in proc text ops
Remove unneeded read/write_size fields in proc text ops. snd_info_set_text_ops() is fixed, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/oss')
-rw-r--r--sound/core/oss/mixer_oss.c2
-rw-r--r--sound/core/oss/pcm_oss.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c
index 9c68bc3f97aa..71b5080fa66d 100644
--- a/sound/core/oss/mixer_oss.c
+++ b/sound/core/oss/mixer_oss.c
@@ -1182,9 +1182,7 @@ static void snd_mixer_oss_proc_init(struct snd_mixer_oss *mixer)
1182 return; 1182 return;
1183 entry->content = SNDRV_INFO_CONTENT_TEXT; 1183 entry->content = SNDRV_INFO_CONTENT_TEXT;
1184 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 1184 entry->mode = S_IFREG | S_IRUGO | S_IWUSR;
1185 entry->c.text.read_size = 8192;
1186 entry->c.text.read = snd_mixer_oss_proc_read; 1185 entry->c.text.read = snd_mixer_oss_proc_read;
1187 entry->c.text.write_size = 8192;
1188 entry->c.text.write = snd_mixer_oss_proc_write; 1186 entry->c.text.write = snd_mixer_oss_proc_write;
1189 entry->private_data = mixer; 1187 entry->private_data = mixer;
1190 if (snd_info_register(entry) < 0) { 1188 if (snd_info_register(entry) < 0) {
diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c
index 0d2e232afe6c..d8b7416ee003 100644
--- a/sound/core/oss/pcm_oss.c
+++ b/sound/core/oss/pcm_oss.c
@@ -2823,9 +2823,7 @@ static void snd_pcm_oss_proc_init(struct snd_pcm *pcm)
2823 if ((entry = snd_info_create_card_entry(pcm->card, "oss", pstr->proc_root)) != NULL) { 2823 if ((entry = snd_info_create_card_entry(pcm->card, "oss", pstr->proc_root)) != NULL) {
2824 entry->content = SNDRV_INFO_CONTENT_TEXT; 2824 entry->content = SNDRV_INFO_CONTENT_TEXT;
2825 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 2825 entry->mode = S_IFREG | S_IRUGO | S_IWUSR;
2826 entry->c.text.read_size = 8192;
2827 entry->c.text.read = snd_pcm_oss_proc_read; 2826 entry->c.text.read = snd_pcm_oss_proc_read;
2828 entry->c.text.write_size = 8192;
2829 entry->c.text.write = snd_pcm_oss_proc_write; 2827 entry->c.text.write = snd_pcm_oss_proc_write;
2830 entry->private_data = pstr; 2828 entry->private_data = pstr;
2831 if (snd_info_register(entry) < 0) { 2829 if (snd_info_register(entry) < 0) {