summaryrefslogtreecommitdiffstats
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 5938d31..a8cc75d 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
midihdr->flags |= MIDIBUF_INQUEUE;
midihdr->flags &= ~MIDIBUF_DONE;
- if ((midiq = (struct midi_queue *) kmalloc(sizeof(struct midi_queue), GFP_KERNEL)) == NULL) {
+ if ((midiq = kmalloc(sizeof(struct midi_queue), GFP_KERNEL)) == NULL) {
/* Message lost */
return -1;
}
OpenPOWER on IntegriCloud