summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorDavid Kershner2016-03-11 23:01:41 +0100
committerGreg Kroah-Hartman2016-03-28 16:30:36 +0200
commit5233d1ebb6c99ca67521cdeb66dccd1256820d5f (patch)
treecb037675fac88efb53aefea965b154da7486c190 /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: unisys: visorbus: cleanup gotos in parser_init_byte_stream (diff)
downloadkernel-qcow2-linux-5233d1ebb6c99ca67521cdeb66dccd1256820d5f.tar.gz
kernel-qcow2-linux-5233d1ebb6c99ca67521cdeb66dccd1256820d5f.tar.xz
kernel-qcow2-linux-5233d1ebb6c99ca67521cdeb66dccd1256820d5f.zip
staging: unisys: visorbus: chipset_init rename goto
Change the goto label "cleanup" to something more useful like out_respond. Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Timothy Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 6598d6977263..e278595d68e2 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -761,7 +761,7 @@ chipset_init(struct controlvm_message *inmsg)
POSTCODE_LINUX_2(CHIPSET_INIT_ENTRY_PC, POSTCODE_SEVERITY_INFO);
if (chipset_inited) {
rc = -CONTROLVM_RESP_ERROR_ALREADY_DONE;
- goto cleanup;
+ goto out_respond;
}
chipset_inited = 1;
POSTCODE_LINUX_2(CHIPSET_INIT_EXIT_PC, POSTCODE_SEVERITY_INFO);
@@ -778,7 +778,7 @@ chipset_init(struct controlvm_message *inmsg)
*/
features |= ULTRA_CHIPSET_FEATURE_REPLY;
-cleanup:
+out_respond:
if (inmsg->hdr.flags.response_expected)
controlvm_respond_chipset_init(&inmsg->hdr, rc, features);
}