Staging: Drop memory allocation cast
[safe/jmp/linux-2.6] / drivers / staging / vt6656 / main_usb.c
index f1d81b1..e4dc27d 100644 (file)
@@ -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;