git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ 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
[safe/jmp/linux-2.6]
/
drivers
/
macintosh
/
via-pmu68k.c
diff --git
a/drivers/macintosh/via-pmu68k.c
b/drivers/macintosh/via-pmu68k.c
index
d9986f3
..
93e6ef9
100644
(file)
--- a/
drivers/macintosh/via-pmu68k.c
+++ b/
drivers/macintosh/via-pmu68k.c
@@
-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;