summaryrefslogtreecommitdiffstats
path: root/sound/pci/emu10k1/emumpu401.c
diff options
context:
space:
mode:
authorJoe Perches2010-09-05 03:52:54 +0200
committerTakashi Iwai2010-09-07 08:05:59 +0200
commit9fe856e47e1751204faf3d604c6d20ab24bd3b93 (patch)
tree744a735096a76caad69d73884893c897b0ce3219 /sound/pci/emu10k1/emumpu401.c
parentALSA: Add more jack button slots (diff)
downloadkernel-qcow2-linux-9fe856e47e1751204faf3d604c6d20ab24bd3b93.tar.gz
kernel-qcow2-linux-9fe856e47e1751204faf3d604c6d20ab24bd3b93.tar.xz
kernel-qcow2-linux-9fe856e47e1751204faf3d604c6d20ab24bd3b93.zip
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/emumpu401.c')
-rw-r--r--sound/pci/emu10k1/emumpu401.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c
index 8578c70c61f2..bab564824efe 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;
}