]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: visorbus: chipset_init rename goto
authorDavid Kershner <david.kershner@unisys.com>
Fri, 11 Mar 2016 22:01:41 +0000 (17:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
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>
drivers/staging/unisys/visorbus/visorchipset.c

index 6598d6977263087b6688dc61b6eb2633415efdc9..e278595d68e2a238d93a739569a37ad042590db2 100644 (file)
@@ -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);
 }