From: Lee Jones Date: Mon, 6 Jul 2020 13:33:12 +0000 (+0100) Subject: usb: gadget: legacy: printer: Remove unused variable 'driver_desc' X-Git-Tag: v5.10.7~1952^2~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89dd9a8c27f841704b527810f9180f06c351b89b;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20200706133341.476881-4-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/legacy/printer.c b/drivers/usb/gadget/legacy/printer.c index 57858f0c..2cd3895 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"