]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/core/pcm.c
sound: Remove unnecessary casts of private_data
[net-next-2.6.git] / sound / core / pcm.c
index 204af48c5cc17f2f59632bb2089aa03c7b593664..88525a95829163cba32384de981dc2b1e6bf4c29 100644 (file)
@@ -364,8 +364,7 @@ static void snd_pcm_stream_proc_info_read(struct snd_info_entry *entry,
 static void snd_pcm_substream_proc_info_read(struct snd_info_entry *entry,
                                             struct snd_info_buffer *buffer)
 {
-       snd_pcm_proc_info_read((struct snd_pcm_substream *)entry->private_data,
-                              buffer);
+       snd_pcm_proc_info_read(entry->private_data, buffer);
 }
 
 static void snd_pcm_substream_proc_hw_params_read(struct snd_info_entry *entry,