From: Lee Jones Date: Mon, 6 Jul 2020 13:33:13 +0000 (+0100) Subject: usb: gadget: udc: amd5536udc_pci: Remove unused variable 'mod_desc' X-Git-Tag: v5.10.7~1952^2~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5307011537981459b2ba7bc1b7460cc7ceee74f2;p=platform%2Fkernel%2Flinux-rpi.git usb: gadget: udc: amd5536udc_pci: Remove unused variable 'mod_desc' 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 Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20200706133341.476881-5-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/udc/amd5536udc_pci.c b/drivers/usb/gadget/udc/amd5536udc_pci.c index 80685e4..56258d0 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 */