OSDN Git Service

staging: unisys: visorbus: remove noisy postcode from visorchipset_exit
authorDavid Kershner <david.kershner@unisys.com>
Tue, 18 Apr 2017 20:55:14 +0000 (16:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Apr 2017 09:49:52 +0000 (11:49 +0200)
The postcodes in visorchipset_exit were not displaying errors, they can
just 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 5ae1763..fe5f588 100644 (file)
@@ -1925,8 +1925,6 @@ error:
 static int
 visorchipset_exit(struct acpi_device *acpi_device)
 {
-       POSTCODE_LINUX(DRIVER_EXIT_PC, 0, 0, DIAG_SEVERITY_PRINT);
-
        visorbus_exit();
        cancel_delayed_work_sync(&chipset_dev->periodic_controlvm_work);
        sysfs_remove_groups(&chipset_dev->acpi_device->dev.kobj,
@@ -1935,8 +1933,6 @@ visorchipset_exit(struct acpi_device *acpi_device)
        visorchannel_destroy(chipset_dev->controlvm_channel);
        kfree(chipset_dev);
 
-       POSTCODE_LINUX(DRIVER_EXIT_PC, 0, 0, DIAG_SEVERITY_PRINT);
-
        return 0;
 }