aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/emu10k1/cardmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/emu10k1/cardmi.c')
-rw-r--r--sound/oss/emu10k1/cardmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/emu10k1/cardmi.c b/sound/oss/emu10k1/cardmi.c
index 0545814cc67d..57674f8c8a2e 100644
--- a/sound/oss/emu10k1/cardmi.c
+++ b/sound/oss/emu10k1/cardmi.c
@@ -157,7 +157,7 @@ int emu10k1_mpuin_add_buffer(struct emu10k1_mpuin *card_mpuin, struct midi_hdr *
157 midihdr->flags |= MIDIBUF_INQUEUE; /* set */ 157 midihdr->flags |= MIDIBUF_INQUEUE; /* set */
158 midihdr->flags &= ~MIDIBUF_DONE; /* clear */ 158 midihdr->flags &= ~MIDIBUF_DONE; /* clear */
159 159
160 if ((midiq = (struct midi_queue *) kmalloc(sizeof(struct midi_queue), GFP_ATOMIC)) == NULL) { 160 if ((midiq = kmalloc(sizeof(struct midi_queue), GFP_ATOMIC)) == NULL) {
161 /* Message lost */ 161 /* Message lost */
162 return -1; 162 return -1;
163 } 163 }