Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <sjayaraman@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Suresh Jayaraman and committed by
Greg Kroah-Hartman
13f9966b 6c59649d

+1 -1
+1 -1
drivers/usb/host/ohci-pnx4008.c
··· 134 134 { 135 135 struct i2c_client *c; 136 136 137 - c = (struct i2c_client *)kzalloc(sizeof(*c), GFP_KERNEL); 137 + c = kzalloc(sizeof(*c), GFP_KERNEL); 138 138 139 139 if (!c) 140 140 return -ENOMEM;