projects
/
powerpc.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
[powerpc.git]
/
sound
/
oss
/
opl3.c
diff --git
a/sound/oss/opl3.c
b/sound/oss/opl3.c
index
4799bc7
..
2e8cfa5
100644
(file)
--- a/
sound/oss/opl3.c
+++ b/
sound/oss/opl3.c
@@
-166,7
+166,7
@@
int opl3_detect(int ioaddr, int *osp)
return 0;
}
- devc =
(struct opl_devinfo *)
kmalloc(sizeof(*devc), GFP_KERNEL);
+ devc = kmalloc(sizeof(*devc), GFP_KERNEL);
if (devc == NULL)
{