• Rolf Eike Beer's avatar
    [PATCH] PCI Hotplug: Convert error paths in ibmphp to use goto · c88c3d97
    Rolf Eike Beer authored
    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.
    c88c3d97
ibmphp_ebda.c 37 KB