aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/emu10k1/cardmo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/emu10k1/cardmo.c')
-rw-r--r--sound/oss/emu10k1/cardmo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/emu10k1/cardmo.c b/sound/oss/emu10k1/cardmo.c
index 5938d31f9e21..a8cc75db3e45 100644
--- a/sound/oss/emu10k1/cardmo.c
+++ b/sound/oss/emu10k1/cardmo.c
@@ -117,7 +117,7 @@ int emu10k1_mpuout_add_buffer(struct emu10k1_card *card, struct midi_hdr *midihd
117 midihdr->flags |= MIDIBUF_INQUEUE; 117 midihdr->flags |= MIDIBUF_INQUEUE;
118 midihdr->flags &= ~MIDIBUF_DONE; 118 midihdr->flags &= ~MIDIBUF_DONE;
119 119
120 if ((midiq = (struct midi_queue *) kmalloc(sizeof(struct midi_queue), GFP_KERNEL)) == NULL) { 120 if ((midiq = kmalloc(sizeof(struct midi_queue), GFP_KERNEL)) == NULL) {
121 /* Message lost */ 121 /* Message lost */
122 return -1; 122 return -1;
123 } 123 }