fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / sound / oss / emu10k1 / cardmi.c
index 0545814..57674f8 100644 (file)
@@ -157,7 +157,7 @@ int emu10k1_mpuin_add_buffer(struct emu10k1_mpuin *card_mpuin, struct midi_hdr *
        midihdr->flags |= MIDIBUF_INQUEUE;      /* set */
        midihdr->flags &= ~MIDIBUF_DONE;        /* clear */
 
-       if ((midiq = (struct midi_queue *) kmalloc(sizeof(struct midi_queue), GFP_ATOMIC)) == NULL) {
+       if ((midiq = kmalloc(sizeof(struct midi_queue), GFP_ATOMIC)) == NULL) {
                /* Message lost */
                return -1;
        }