[PATCH] PCI Express Hotplug: remove useless kmalloc casts
The result of kmalloc does not need to be casted, it is a void * which can be assigned to any pointer variable. Also avoid code duplication in one if statement.
Showing
Please register or sign in to comment