[PATCH] getting rid of all casts of k[cmz]alloc() calls
[deliverable/linux.git] / sound / oss / emu10k1 / cardmi.c
index 0545814cc67dc08a0da0776356df6ebfc34fff76..57674f8c8a2e73f1f5a5dc95ec90d87d63393271 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;
        }
This page took 0.026196 seconds and 5 git commands to generate.