[PATCH 03/32] usb: gadget: legacy: printer: Remove unused variable 'driver_desc'
From: Lee Jones
Date: Mon Jul 06 2020 - 09:33:55 EST
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@xxxxxxxxxx>
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
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