diff options
author | Erik Arfvidson <erik.arfvidson@unisys.com> | 2015-05-05 18:36:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 15:26:06 +0200 |
commit | 680385e3812b2a75dbe27395a7c49ba987698f0c (patch) | |
tree | ac6e0441f75582adba81b86d204307124dc0cdec | |
parent | 7e5a1a76447228bfb08804c539d84e9b27135f76 (diff) | |
download | lwn-680385e3812b2a75dbe27395a7c49ba987698f0c.tar.gz lwn-680385e3812b2a75dbe27395a7c49ba987698f0c.zip |
staging: unisys: remove unused device_map and guest_devices struct
This patch removes unused struct in the controlvm_channel message
and replaces it with a char reserved inorder to mantain same
message size.
Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.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/common-spar/include/channels/controlvmchannel.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h index 8830d70260e0..045c9223d0f8 100644 --- a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h +++ b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h @@ -320,24 +320,6 @@ struct controlvm_message { struct controlvm_message_packet cmd; }; -struct device_map { - u64 device_channel_address; - u64 device_channel_size; - u32 ca_index; - u32 reserved; /* natural alignment */ - u64 reserved2; /* Align structure on 32-byte boundary */ -}; - -struct guest_devices { - struct device_map video_channel; - struct device_map keyboard_channel; - struct device_map network_channel; - struct device_map storage_channel; - struct device_map console_channel; - u32 partition_index; - u32 pad; -}; - struct spar_controlvm_channel_protocol { struct channel_header header; u64 gp_controlvm; /* guest phys addr of this channel */ @@ -361,7 +343,7 @@ struct spar_controlvm_channel_protocol { u64 gp_smbios_table; /* guest phys addr of SMBIOS tables */ u64 gp_physical_smbios_table; /* guest phys addr of SMBIOS table */ /* ULTRA_MAX_GUESTS_PER_SERVICE */ - struct guest_devices gp_obsolete_guest_devices[16]; + char gp_reserved[2688]; /* guest physical address of EFI firmware image base */ u64 virtual_guest_firmware_image_base; |