Commit 820b11b6 authored by Jon Frisch's avatar Jon Frisch Committed by Greg Kroah-Hartman

staging: unisys: visorbus: remove unused dump_vhba_bus

This patch removes the unused u32 dump_vhba_bus.
Signed-off-by: default avatarJon Frisch <jon.frisch@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reported-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbd52321
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
*/ */
static int visorchipset_major; static int visorchipset_major;
static unsigned long controlvm_payload_bytes_buffered; static unsigned long controlvm_payload_bytes_buffered;
static u32 dump_vhba_bus;
static int static int
visorchipset_open(struct inode *inode, struct file *file) visorchipset_open(struct inode *inode, struct file *file)
...@@ -1011,10 +1010,8 @@ bus_create(struct controlvm_message *inmsg) ...@@ -1011,10 +1010,8 @@ bus_create(struct controlvm_message *inmsg)
goto out_bus_epilog; goto out_bus_epilog;
} }
bus_info->visorchannel = visorchannel; bus_info->visorchannel = visorchannel;
if (uuid_le_cmp(cmd->create_bus.bus_inst_uuid, spar_siovm_uuid) == 0) { if (uuid_le_cmp(cmd->create_bus.bus_inst_uuid, spar_siovm_uuid) == 0)
dump_vhba_bus = bus_no;
save_crash_message(inmsg, CRASH_BUS); save_crash_message(inmsg, CRASH_BUS);
}
POSTCODE_LINUX_3(BUS_CREATE_EXIT_PC, bus_no, POSTCODE_SEVERITY_INFO); POSTCODE_LINUX_3(BUS_CREATE_EXIT_PC, bus_no, POSTCODE_SEVERITY_INFO);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment