diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2015-05-05 18:35:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 15:25:55 +0200 |
commit | a5aa395da6d1688cc0d8b5239c3a66aa235580a7 (patch) | |
tree | 3dfb71515e55a07d04689ab3031dcafedebac807 | |
parent | 53dfe389c863eddf6aaeeab8afb34ffdd42a2079 (diff) | |
download | linux-a5aa395da6d1688cc0d8b5239c3a66aa235580a7.tar.bz2 |
staging: unisys: Remove write-only visorchipset_bus_info.dev_no
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.h | 1 | ||||
-rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset_main.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset.h b/drivers/staging/unisys/visorchipset/visorchipset.h index 53bbc4979edc..d21fcb027cac 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset.h +++ b/drivers/staging/unisys/visorchipset/visorchipset.h @@ -140,7 +140,6 @@ struct visorchipset_bus_info { struct controlvm_message_header pending_msg_hdr;/* CONTROLVM MsgHdr */ /** For private use by the bus driver */ void *bus_driver_context; - u32 dev_no; }; static inline struct visorchipset_bus_info * diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 69730d190954..e78ae7bbb72f 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -1051,7 +1051,6 @@ bus_create(struct controlvm_message *inmsg) INIT_LIST_HEAD(&bus_info->entry); 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); |