summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Frisch <jon.frisch@unisys.com>2016-09-02 16:41:28 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-12 13:24:13 +0200
commit1bda5a2b0acc4f99b602f612c24da777a989c095 (patch)
treee27ee9f4686619f61a0c4238171cacc7e56568c9
parentfbb5d8cf680b4bc7e8d73b86229055c60b1c6820 (diff)
downloadop-kernel-dev-1bda5a2b0acc4f99b602f612c24da777a989c095.zip
op-kernel-dev-1bda5a2b0acc4f99b602f612c24da777a989c095.tar.gz
staging: unisys: visorbus: remove g_devicechangestate_packet
This patch removes the unused struct controlvm_message_packet g_devicechangestate_packet. The struct is set but never called. 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>
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index f70f609..52f79c7 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -98,7 +98,6 @@ static struct delayed_work periodic_controlvm_work;
static struct cdev file_cdev;
static struct visorchannel **file_controlvm_channel;
-static struct controlvm_message_packet g_devicechangestate_packet;
static LIST_HEAD(bus_info_list);
static LIST_HEAD(dev_info_list);
@@ -1717,7 +1716,6 @@ handle_command(struct controlvm_message inmsg, u64 channel_addr)
* when sending back the response to Command
*/
my_device_changestate(&inmsg);
- g_devicechangestate_packet = inmsg.cmd;
break;
}
break;
OpenPOWER on IntegriCloud