[PATCH] getting rid of all casts of k[cmz]alloc() calls
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / macintosh / via-pmu68k.c
index d9986f3a3fbf37c29b815e51ab9c44b015d43a7b..93e6ef9233f9ec6bdb9632c06db15e301e666c9c 100644 (file)
@@ -847,7 +847,7 @@ pbook_pci_save(void)
        n_pbook_pci_saves = npci;
        if (npci == 0)
                return;
-       ps = (struct pci_save *) kmalloc(npci * sizeof(*ps), GFP_KERNEL);
+       ps = kmalloc(npci * sizeof(*ps), GFP_KERNEL);
        pbook_pci_saves = ps;
        if (ps == NULL)
                return;