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
/
vt6656
/
main_usb.c
diff --git
a/drivers/staging/vt6656/main_usb.c
b/drivers/staging/vt6656/main_usb.c
index
f1d81b1
..
e4dc27d
100644
(file)
--- a/
drivers/staging/vt6656/main_usb.c
+++ b/
drivers/staging/vt6656/main_usb.c
@@
-1511,7
+1511,7
@@
static UCHAR *Config_FileOperation(PSDevice pDevice) {
goto error1;
}
- buffer =
(UCHAR *)
kmalloc(1024, GFP_KERNEL);
+ buffer = kmalloc(1024, GFP_KERNEL);
if(buffer==NULL) {
printk("alllocate mem for file fail?\n");
result = -1;