diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2015-05-05 18:35:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 15:25:57 +0200 |
commit | 7e61e4c9b34c51913997830682181a24febe810d (patch) | |
tree | ae9423654e36c23612ac1048e98547a9308773a6 | |
parent | staging: unisys: Remove write-only variable g_diag_msg_hdr (diff) | |
download | linux-dev-7e61e4c9b34c51913997830682181a24febe810d.tar.xz linux-dev-7e61e4c9b34c51913997830682181a24febe810d.zip |
staging: unisys: Remove write-only variable g_del_dump_msg_hdr
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset_main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index b733147b4dbb..5ea6f9e81fba 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -76,7 +76,6 @@ static struct workqueue_struct *periodic_controlvm_workqueue; static DEFINE_SEMAPHORE(notifier_lock); static struct controlvm_message_header g_chipset_msg_hdr; -static struct controlvm_message_header g_del_dump_msg_hdr; static const uuid_le spar_diag_pool_channel_protocol_uuid = SPAR_DIAG_POOL_CHANNEL_PROTOCOL_UUID; /* 0xffffff is an invalid Bus/Device number */ @@ -2220,8 +2219,6 @@ visorchipset_init(void) memset(&g_chipset_msg_hdr, 0, sizeof(struct controlvm_message_header)); - memset(&g_del_dump_msg_hdr, 0, sizeof(struct controlvm_message_header)); - if (!visorchipset_disable_controlvm) { /* if booting in a crash kernel */ if (is_kdump_kernel()) @@ -2285,8 +2282,6 @@ visorchipset_exit(void) memset(&g_chipset_msg_hdr, 0, sizeof(struct controlvm_message_header)); - memset(&g_del_dump_msg_hdr, 0, sizeof(struct controlvm_message_header)); - visorchannel_destroy(controlvm_channel); visorchipset_file_cleanup(visorchipset_platform_device.dev.devt); |