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
/
rtl8192e
/
r8192E_core.c
diff --git
a/drivers/staging/rtl8192e/r8192E_core.c
b/drivers/staging/rtl8192e/r8192E_core.c
index
604c691
..
533be48
100644
(file)
--- a/
drivers/staging/rtl8192e/r8192E_core.c
+++ b/
drivers/staging/rtl8192e/r8192E_core.c
@@
-5040,7
+5040,7
@@
static int rtl8192_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
goto out;
}
- ipw =
(struct ieee_param *)
kmalloc(p->length, GFP_KERNEL);
+ ipw = kmalloc(p->length, GFP_KERNEL);
if (ipw == NULL){
ret = -ENOMEM;
goto out;