]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: unisys: visorbus: remove unused lists
authorJon Frisch <jon.frisch@unisys.com>
Fri, 2 Sep 2016 20:41:29 +0000 (16:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 11:24:13 +0000 (13:24 +0200)
This patch removes the following lists that were never used:
LIST_HEAD(bus_info_list)
LIST_HEAD(dev_info_list)
LIST_HEAD(putfile_request_list)

Signed-off-by: Jon Frisch <jon.frisch@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c

index 52f79c791d1d15cd473439cd104b49582b0a6017..54f90d95df3b89893e8a28080a8fda7334497c32 100644 (file)
@@ -99,9 +99,6 @@ static struct delayed_work periodic_controlvm_work;
 static struct cdev file_cdev;
 static struct visorchannel **file_controlvm_channel;
 
-static LIST_HEAD(bus_info_list);
-static LIST_HEAD(dev_info_list);
-
 static struct visorchannel *controlvm_channel;
 
 /* Manages the request payload in the controlvm channel */
@@ -134,13 +131,6 @@ struct putfile_buffer_entry {
        struct parser_context *parser_ctx; /* points to input data buffer */
 };
 
-/*
- * List of struct putfile_request *, via next_putfile_request member.
- * Each entry in this list identifies an outstanding TRANSMIT_FILE
- * conversation.
- */
-static LIST_HEAD(putfile_request_list);
-
 /*
  * This describes a buffer and its current state of transfer (e.g., how many
  * bytes have already been supplied as putfile data, and how many bytes are