projects
/
linux-2.6-block.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
[linux-2.6-block.git]
/
drivers
/
usb
/
serial
/
ipaq.c
diff --git
a/drivers/usb/serial/ipaq.c
b/drivers/usb/serial/ipaq.c
index d72cf8bc7f76be74678eccdc4df280aabfff57c5..42f757a5b876e621da94472c53506bf9401a37fc 100644
(file)
--- a/
drivers/usb/serial/ipaq.c
+++ b/
drivers/usb/serial/ipaq.c
@@
-595,7
+595,7
@@
static int ipaq_open(struct usb_serial_port *port, struct file *filp)
bytes_in = 0;
bytes_out = 0;
- priv =
(struct ipaq_private *)
kmalloc(sizeof(struct ipaq_private), GFP_KERNEL);
+ priv = kmalloc(sizeof(struct ipaq_private), GFP_KERNEL);
if (priv == NULL) {
err("%s - Out of memory", __FUNCTION__);
return -ENOMEM;