commit | c2c667d6bd78794bc3ee63939786caafe2169a4b | [log] [tgz] |
---|---|---|
author | Benjamin Romer <benjamin.romer@unisys.com> | Tue Feb 23 10:01:52 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 25 22:40:52 2016 -0800 |
tree | 77df370940e95142d9d09ff089ad68b4f3dd4c9e | |
parent | f99d3308c5490c3bf72a7d4929bb76443daa2097 [diff] |
staging: unisys: get rid of goto in create_bus_instance() Remove the unnecessary rc and goto messiness, and just handle freeing the memory before returning an error in the one place where that needs to happen. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>