[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git] / drivers / net / wireless / hostap / hostap_download.c
index 24fc387bba6753255caee927c78352a6bcc2a2fc..c7678e67697dc435ebf721f13b253058aafb1bf0 100644 (file)
@@ -201,7 +201,7 @@ static u8 * prism2_read_pda(struct net_device *dev)
                0x7f0002 /* Intel PRO/Wireless 2011B (PCI) */,
        };
 
-       buf = (u8 *) kmalloc(PRISM2_PDA_SIZE, GFP_KERNEL);
+       buf = kmalloc(PRISM2_PDA_SIZE, GFP_KERNEL);
        if (buf == NULL)
                return NULL;