[PATCH] PCI Hotplug: Remove unneeded kmalloc casts from ibmphp_pci.c
this patch removes some unneeded casts from ibmphp_pci.c that cast the result of kmalloc to some pointer type. It also uses "sizeof(*result)" instead of "sizeof(type_of_result)". Signed-off-by: Rolf Eike Beer <eike-hotplug@sf-tec.de> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Showing
Please register or sign in to comment