From: Jon Frisch Date: Fri, 2 Sep 2016 20:41:29 +0000 (-0400) Subject: staging: unisys: visorbus: remove unused lists X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d5bc757c1f6606c03e14d093c3a96e9e7f2f413f;p=linux-beck.git staging: unisys: visorbus: remove unused lists 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 Signed-off-by: David Kershner Reported-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 52f79c791d1d..54f90d95df3b 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -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