[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200706133341.476881-4-lee.jones@linaro.org>
Date: Mon, 6 Jul 2020 14:33:12 +0100
From: Lee Jones <lee.jones@...aro.org>
To: gregkh@...uxfoundation.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, Lee Jones <lee.jones@...aro.org>,
Felipe Balbi <balbi@...nel.org>
Subject: [PATCH 03/32] usb: gadget: legacy: printer: Remove unused variable 'driver_desc'
Fixes the following W=1 kernel build warning(s):
drivers/usb/gadget/legacy/printer.c:24:19: warning: ‘driver_desc’ defined but not used [-Wunused-const-variable=]
Cc: Felipe Balbi <balbi@...nel.org>
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/usb/gadget/legacy/printer.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/gadget/legacy/printer.c b/drivers/usb/gadget/legacy/printer.c
index 57858f0c2b6c9..2cd389575084b 100644
--- a/drivers/usb/gadget/legacy/printer.c
+++ b/drivers/usb/gadget/legacy/printer.c
@@ -21,7 +21,6 @@ USB_GADGET_COMPOSITE_OPTIONS();
#define DRIVER_VERSION "2015 FEB 17"
static const char shortname [] = "printer";
-static const char driver_desc [] = DRIVER_DESC;
#include "u_printer.h"
--
2.25.1
Powered by blists - more mailing lists