Commit 1bda5a2b authored by Jon Frisch's avatar Jon Frisch Committed by Greg Kroah-Hartman

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: 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 fbb5d8cf
...@@ -98,7 +98,6 @@ static struct delayed_work periodic_controlvm_work; ...@@ -98,7 +98,6 @@ static struct delayed_work periodic_controlvm_work;
static struct cdev file_cdev; static struct cdev file_cdev;
static struct visorchannel **file_controlvm_channel; static struct visorchannel **file_controlvm_channel;
static struct controlvm_message_packet g_devicechangestate_packet;
static LIST_HEAD(bus_info_list); static LIST_HEAD(bus_info_list);
static LIST_HEAD(dev_info_list); static LIST_HEAD(dev_info_list);
...@@ -1717,7 +1716,6 @@ handle_command(struct controlvm_message inmsg, u64 channel_addr) ...@@ -1717,7 +1716,6 @@ handle_command(struct controlvm_message inmsg, u64 channel_addr)
* when sending back the response to Command * when sending back the response to Command
*/ */
my_device_changestate(&inmsg); my_device_changestate(&inmsg);
g_devicechangestate_packet = inmsg.cmd;
break; break;
} }
break; break;
......
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