Skip to content
Snippets Groups Projects
Commit 13f9966b authored by Suresh Jayaraman's avatar Suresh Jayaraman Committed by Greg Kroah-Hartman
Browse files

USB: ohci-pnx4008: Remove unnecessary cast of return value of kzalloc


Remove unnecessary cast of return value of kzalloc() in
usb/host/ohci-pnx4008.c

Signed-off-by: default avatarSuresh Jayaraman <sjayaraman@novell.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6c59649d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment