staging: unisys: visorbus: remove noisy postcode in bus_destroy
authorDavid Kershner <david.kershner@unisys.com>
Tue, 18 Apr 2017 20:55:13 +0000 (16:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Apr 2017 09:49:52 +0000 (11:49 +0200)
Since kzalloc will display error the postcode becomes redundant, it
can be removed.

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 07a3ba2904efabfaed1ca6988940ecfaaca54ed1..5ae1763a3972ac39cf4fecedf28e02b276b1bbc5 100644 (file)
@@ -682,9 +682,6 @@ bus_destroy(struct controlvm_message *inmsg)
        if (inmsg->hdr.flags.response_expected == 1) {
                pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL);
                if (!pmsg_hdr) {
-                       POSTCODE_LINUX(MALLOC_FAILURE_PC, cmd,
-                                      bus_info->chipset_bus_no,
-                                      DIAG_SEVERITY_ERR);
                        err = -ENOMEM;
                        goto err_respond;
                }