提交 a5aa395d 编写于 作者: J Jes Sorensen 提交者: Greg Kroah-Hartman

staging: unisys: Remove write-only visorchipset_bus_info.dev_no

Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 53dfe389
...@@ -140,7 +140,6 @@ struct visorchipset_bus_info { ...@@ -140,7 +140,6 @@ struct visorchipset_bus_info {
struct controlvm_message_header pending_msg_hdr;/* CONTROLVM MsgHdr */ struct controlvm_message_header pending_msg_hdr;/* CONTROLVM MsgHdr */
/** For private use by the bus driver */ /** For private use by the bus driver */
void *bus_driver_context; void *bus_driver_context;
u32 dev_no;
}; };
static inline struct visorchipset_bus_info * static inline struct visorchipset_bus_info *
......
...@@ -1051,7 +1051,6 @@ bus_create(struct controlvm_message *inmsg) ...@@ -1051,7 +1051,6 @@ bus_create(struct controlvm_message *inmsg)
INIT_LIST_HEAD(&bus_info->entry); INIT_LIST_HEAD(&bus_info->entry);
bus_info->bus_no = bus_no; bus_info->bus_no = bus_no;
bus_info->dev_no = cmd->create_bus.dev_count;
POSTCODE_LINUX_3(BUS_CREATE_ENTRY_PC, bus_no, POSTCODE_SEVERITY_INFO); POSTCODE_LINUX_3(BUS_CREATE_ENTRY_PC, bus_no, POSTCODE_SEVERITY_INFO);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册