OSDN Git Service

staging: unisys: visorbus: remove POSTCODE from chispet_init
authorDavid Kershner <david.kershner@unisys.com>
Tue, 18 Apr 2017 20:55:10 +0000 (16:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Apr 2017 09:49:52 +0000 (11:49 +0200)
Get rid of the postcodes from the function chipset_init. They were
being noisy, so don't replace them with errors.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c

index 6e59d8d..07a3ba2 100644 (file)
@@ -411,14 +411,12 @@ chipset_init(struct controlvm_message *inmsg)
        int rc = CONTROLVM_RESP_SUCCESS;
        int res = 0;
 
-       POSTCODE_LINUX(CHIPSET_INIT_ENTRY_PC, 0, 0, DIAG_SEVERITY_PRINT);
        if (chipset_inited) {
                rc = -CONTROLVM_RESP_ALREADY_DONE;
                res = -EIO;
                goto out_respond;
        }
        chipset_inited = 1;
-       POSTCODE_LINUX(CHIPSET_INIT_EXIT_PC, 0, 0, DIAG_SEVERITY_PRINT);
 
        /*
         * Set features to indicate we support parahotplug (if Command