]> git.hungrycats.org Git - linux/commit
[PATCH] PCI Hotplug: Convert error paths in ibmphp to use goto
authorRolf Eike Beer <eike-hotplug@sf-tec.de>
Fri, 6 Feb 2004 06:23:33 +0000 (22:23 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 6 Feb 2004 06:23:33 +0000 (22:23 -0800)
commitc88c3d97408ade958d395697ff73098564a61082
treed5efedbfc478f8308ec9cf17ebe3afd13f0b826e
parenta6776ea2b8ff346342aecbcbe6545b105bd0a676
[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.
drivers/pci/hotplug/ibmphp_ebda.c