[PATCH 04/32] usb: gadget: udc: amd5536udc_pci: Remove unused variable 'mod_desc'

From: Lee Jones
Date: Mon Jul 06 2020 - 09:36:35 EST


Fixes the following W=1 kernel build warning(s):

drivers/usb/gadget/udc/amd5536udc_pci.c:52:19: warning: âmod_descâ defined but not used [-Wunused-const-variable=]

Cc: Felipe Balbi <balbi@xxxxxxxxxx>
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
drivers/usb/gadget/udc/amd5536udc_pci.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/amd5536udc_pci.c b/drivers/usb/gadget/udc/amd5536udc_pci.c
index 80685e4306f31..56258d076abc4 100644
--- a/drivers/usb/gadget/udc/amd5536udc_pci.c
+++ b/drivers/usb/gadget/udc/amd5536udc_pci.c
@@ -49,7 +49,6 @@
static struct udc *udc;

/* description */
-static const char mod_desc[] = UDC_MOD_DESCRIPTION;
static const char name[] = "amd5536udc-pci";

/* Reset all pci context */
--
2.25.1