summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorJon Frisch <jon.frisch@unisys.com>2016-09-19 17:09:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-20 13:26:20 +0200
commit820b11b6bb4924598524750201cf9360013fe7b7 (patch)
tree95a2806cd717390113eb1f0c035c21edd66b187b /drivers/staging/unisys
parentfbd5232109491118eba16773ea2db39b223edde3 (diff)
downloadtalos-obmc-linux-820b11b6bb4924598524750201cf9360013fe7b7.tar.gz
talos-obmc-linux-820b11b6bb4924598524750201cf9360013fe7b7.zip
staging: unisys: visorbus: remove unused dump_vhba_bus
This patch removes the unused u32 dump_vhba_bus. Signed-off-by: Jon Frisch <jon.frisch@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 656583e44cde..84c2858691ff 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -51,7 +51,6 @@
*/
static int visorchipset_major;
static unsigned long controlvm_payload_bytes_buffered;
-static u32 dump_vhba_bus;
static int
visorchipset_open(struct inode *inode, struct file *file)
@@ -1011,10 +1010,8 @@ bus_create(struct controlvm_message *inmsg)
goto out_bus_epilog;
}
bus_info->visorchannel = visorchannel;
- if (uuid_le_cmp(cmd->create_bus.bus_inst_uuid, spar_siovm_uuid) == 0) {
- dump_vhba_bus = bus_no;
+ if (uuid_le_cmp(cmd->create_bus.bus_inst_uuid, spar_siovm_uuid) == 0)
save_crash_message(inmsg, CRASH_BUS);
- }
POSTCODE_LINUX_3(BUS_CREATE_EXIT_PC, bus_no, POSTCODE_SEVERITY_INFO);
OpenPOWER on IntegriCloud