]> git.karo-electronics.de Git - linux-beck.git/commit
staging: fsl-mc: refactored error exit in allocator probe/remove
authorJ. German Rivera <German.Rivera@freescale.com>
Sat, 17 Oct 2015 16:18:21 +0000 (11:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:53:38 +0000 (20:53 -0700)
commit09a38ab0b1a67e85b11d363dedc1f5de3d0e17e8
treed5604f7ea94ae1e7d4651add0d45c630c722c5e8
parent6958cd44834ecd1e490be94343c44fc64076d391
staging: fsl-mc: refactored error exit in allocator probe/remove

Replaced error gotos with direct returns in fsl_mc_allocator_probe()
and fsl_mc_allocator_remove(), since the only error handling done
in those functions is to exit.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-allocator.c