]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: ipack/bridges/tpci200: remove gotos in tpci200_install()
authorMiguel Gómez <magomez@igalia.com>
Thu, 7 Jun 2012 08:24:54 +0000 (10:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:58:03 +0000 (08:58 -0700)
commitc1ec00213544878157c88f18b57474db6af6ac39
tree29b30ec5b3f4c6ac2311e7ff5d7758c23d164f19
parentdc13838b9c0bb32d8f0fb9a1f4d09d189f72392e
Staging: ipack/bridges/tpci200: remove gotos in tpci200_install()

Remove the gotos when handling error conditions, as the code gets clearer
and the gotos are not really avoiding code replication.

Signed-off-by: Miguel Gómez <magomez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/bridges/tpci200.c