projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git]
/
drivers
/
atm
/
lanai.c
diff --git
a/drivers/atm/lanai.c
b/drivers/atm/lanai.c
index 267825501dfe61570ed12300b45be52590bf5f89..09f477d4237a5f553d711748dab5ff953f3255b3 100644
(file)
--- a/
drivers/atm/lanai.c
+++ b/
drivers/atm/lanai.c
@@
-2602,7
+2602,7
@@
static int __devinit lanai_init_one(struct pci_dev *pci,
struct atm_dev *atmdev;
int result;
- lanai =
(struct lanai_dev *)
kmalloc(sizeof(*lanai), GFP_KERNEL);
+ lanai = kmalloc(sizeof(*lanai), GFP_KERNEL);
if (lanai == NULL) {
printk(KERN_ERR DEV_LABEL
": couldn't allocate dev_data structure!\n");