From: Suresh Jayaraman Date: Thu, 28 Jun 2007 17:16:30 +0000 (-0600) Subject: USB: ohci-pnx4008: Remove unnecessary cast of return value of kzalloc X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13f9966b3ba5b45f47f2ea0eb0a90afceedfbb1f;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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: Suresh Jayaraman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c index d601bbb9387b..ca2a6abbc117 100644 --- 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;