sound: Remove unnecessary casts of private_data

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
Joe Perches 2010-09-04 18:52:54 -07:00 • committed by Takashi Iwai
commit 9fe856e47e
14 changed files with 41 additions and 42 deletions

View file

@ -94,7 +94,7 @@ static int __devinit snd_virmidi_probe(struct platform_device *devptr)
sizeof(struct snd_card_virmidi), &card);
if (err < 0)
return err;
vmidi = (struct snd_card_virmidi *)card->private_data;
vmidi = card->private_data;
vmidi->card = card;
if (midi_devs[dev] > MAX_MIDI_DEVICES) {