aboutsummaryrefslogtreecommitdiff
path: root/sound/drivers/virmidi.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-04 18:52:54 -0700
committerTakashi Iwai <tiwai@suse.de>2010-09-07 08:05:59 +0200
commit9fe856e47e1751204faf3d604c6d20ab24bd3b93 (patch)
tree744a735096a76caad69d73884893c897b0ce3219 /sound/drivers/virmidi.c
parent831853c87fb7234a8650484d30993242ea9ad6d3 (diff)
sound: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/virmidi.c')
-rw-r--r--sound/drivers/virmidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c
index 0e631c3221e..f4cd49336f3 100644
--- a/sound/drivers/virmidi.c
+++ b/sound/drivers/virmidi.c
@@ -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) {