]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: Remove write-only visorchipset_bus_info.dev_no
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 5 May 2015 22:35:51 +0000 (18:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:25:55 +0000 (15:25 +0200)
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>
drivers/staging/unisys/visorchipset/visorchipset.h
drivers/staging/unisys/visorchipset/visorchipset_main.c

index 53bbc4979edc1a5e7af8ac6b747b46662e6f5a1d..d21fcb027cac1485f1a82f266c466644817c1190 100644 (file)
@@ -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 *
index 69730d19095446aa97760d380341befd133f847b..e78ae7bbb72f9c49fb6f2853466b8a39b5bdab09 100644 (file)
@@ -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);