[PATCH] PCI Hotplug: Convert error paths in ibmphp to use goto
This patch converts the error paths in several functions in ibmphp to use goto to the end of the function to kill code duplication. It also kills some memsets of pointer members of a struct where the struct itself is freed directly after. This one has 2 modification from the first version: the if is back as discussed and one extra long line (>> 150 chars) is wrapped now.
Showing
Please register or sign in to comment