mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
831853c87f
commit
9fe856e47e
14 changed files with 41 additions and 42 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue