OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c59649
)
USB: ohci-pnx4008: Remove unnecessary cast of return value of kzalloc
author
Suresh Jayaraman
<sjayaraman@novell.com>
Thu, 28 Jun 2007 17:16:30 +0000
(11:16 -0600)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 12 Jul 2007 23:34:43 +0000
(16:34 -0700)
Remove unnecessary cast of return value of kzalloc() in
usb/host/ohci-pnx4008.c
Signed-off-by: Suresh Jayaraman <sjayaraman@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-pnx4008.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-pnx4008.c
b/drivers/usb/host/ohci-pnx4008.c
index
d601bbb
..
ca2a6ab
100644
(file)
--- a/
drivers/usb/host/ohci-pnx4008.c
+++ b/
drivers/usb/host/ohci-pnx4008.c
@@
-134,7
+134,7
@@
static int isp1301_attach(struct i2c_adapter *adap, int addr, int kind)
{
struct i2c_client *c;
- c =
(struct i2c_client *)
kzalloc(sizeof(*c), GFP_KERNEL);
+ c = kzalloc(sizeof(*c), GFP_KERNEL);
if (!c)
return -ENOMEM;