diff options
author | David Kershner <david.kershner@unisys.com> | 2017-04-18 16:55:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-28 11:49:52 +0200 |
commit | 646c7eb5d207538a8b655a40f4bbc27a56c1bb73 (patch) | |
tree | b88018246a10bf7f459abef063abfaa7bd602db2 /drivers/staging/unisys | |
parent | 450333f10a074517c167a129b92496a070ada0d4 (diff) |
staging: unisys: visorbus: remove noisy postcodes
Get rid of postcodes from visorbus_main.c that are just informational.
They were not logging errors, we don't need to replace them with
anything.
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>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorbus_main.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index 269f525fb8b9..3f26a69c9420 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -1081,17 +1081,11 @@ int chipset_bus_create(struct visor_device *dev) { int err; - u32 bus_no = dev->chipset_bus_no; - POSTCODE_LINUX(BUS_CREATE_ENTRY_PC, 0, bus_no, DIAG_SEVERITY_PRINT); err = create_bus_instance(dev); - POSTCODE_LINUX(BUS_CREATE_EXIT_PC, 0, bus_no, DIAG_SEVERITY_PRINT); - if (err < 0) { - POSTCODE_LINUX(BUS_CREATE_FAILURE_PC, 0, bus_no, - DIAG_SEVERITY_ERR); + if (err < 0) return err; - } bus_create_response(dev, err); @@ -1109,21 +1103,10 @@ int chipset_device_create(struct visor_device *dev_info) { int err; - u32 bus_no = dev_info->chipset_bus_no; - u32 dev_no = dev_info->chipset_dev_no; - - POSTCODE_LINUX(DEVICE_CREATE_ENTRY_PC, dev_no, bus_no, - DIAG_SEVERITY_PRINT); err = create_visor_device(dev_info); - if (err < 0) { - POSTCODE_LINUX(DEVICE_CREATE_FAILURE_PC, dev_no, bus_no, - DIAG_SEVERITY_ERR); + if (err < 0) return err; - } - - POSTCODE_LINUX(DEVICE_CREATE_SUCCESS_PC, dev_no, bus_no, - DIAG_SEVERITY_PRINT); device_create_response(dev_info, err); |