[PATCH] getting rid of all casts of k[cmz]alloc() calls
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm26 / kernel / irq.c
index d87d68b77d6678d97cbf2df175cca889b5e09123..d53382c83bf9fdb05ddfb66122313bfda0e9268a 100644 (file)
@@ -545,7 +545,7 @@ int request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_
            (irq_flags & IRQF_SHARED && !dev_id))
                return -EINVAL;
 
-       action = (struct irqaction *)kmalloc(sizeof(struct irqaction), GFP_KERNEL);
+       action = kmalloc(sizeof(struct irqaction), GFP_KERNEL);
        if (!action)
                return -ENOMEM;