diff mbox series

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

Message ID 20200706133341.476881-5-lee.jones@linaro.org
State New
Headers show
Series Fix the final bunch of W=1 issues in USB | expand

Commit Message

Lee Jones July 6, 2020, 1:33 p.m. UTC
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@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/usb/gadget/udc/amd5536udc_pci.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.25.1
diff mbox series

Patch

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 */