[PATCH] getting rid of all casts of k[cmz]alloc() calls
[safe/jmp/linux-2.6] / arch / sparc / kernel / sun4d_irq.c
index cf1b8ba..0e27e22 100644 (file)
@@ -327,7 +327,7 @@ int sun4d_request_irq(unsigned int irq,
        }
        
        if (action == NULL)
-               action = (struct irqaction *)kmalloc(sizeof(struct irqaction),
+               action = kmalloc(sizeof(struct irqaction),
                                                     GFP_ATOMIC);
        
        if (!action) {