diff options
author | Joe Perches <joe@perches.com> | 2010-09-05 01:52:54 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-07 06:05:59 (GMT) |
commit | 9fe856e47e1751204faf3d604c6d20ab24bd3b93 (patch) | |
tree | 744a735096a76caad69d73884893c897b0ce3219 /sound/pci/emu10k1 | |
parent | 831853c87fb7234a8650484d30993242ea9ad6d3 (diff) | |
download | linux-9fe856e47e1751204faf3d604c6d20ab24bd3b93.tar.xz |
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/pci/emu10k1')
-rw-r--r-- | sound/pci/emu10k1/emumpu401.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c index 8578c70..bab5648 100644 --- a/sound/pci/emu10k1/emumpu401.c +++ b/sound/pci/emu10k1/emumpu401.c @@ -321,7 +321,7 @@ static struct snd_rawmidi_ops snd_emu10k1_midi_input = static void snd_emu10k1_midi_free(struct snd_rawmidi *rmidi) { - struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)rmidi->private_data; + struct snd_emu10k1_midi *midi = rmidi->private_data; midi->interrupt = NULL; midi->rmidi = NULL; } |