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
Staging: Drop memory allocation cast
[safe/jmp/linux-2.6]
/
drivers
/
staging
/
comedi
/
drivers
/
unioxx5.c
diff --git
a/drivers/staging/comedi/drivers/unioxx5.c
b/drivers/staging/comedi/drivers/unioxx5.c
index
be1d83d
..
16d4c9f
100644
(file)
--- a/
drivers/staging/comedi/drivers/unioxx5.c
+++ b/
drivers/staging/comedi/drivers/unioxx5.c
@@
-285,7
+285,7
@@
static int __unioxx5_subdev_init(struct comedi_subdevice *subdev,
return -EIO;
}
- usp =
(struct unioxx5_subd_priv *)
kzalloc(sizeof(*usp), GFP_KERNEL);
+ usp = kzalloc(sizeof(*usp), GFP_KERNEL);
if (usp == NULL) {
printk(KERN_ERR "comedi%d: erorr! --> out of memory!\n", minor);