summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-06 16:33:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-09 18:19:56 +0300
commit5307011537981459b2ba7bc1b7460cc7ceee74f2 (patch)
tree4465af7b2c86934cc83b323eb33d42ab7e5378a9 /drivers/usb/gadget
parent89dd9a8c27f841704b527810f9180f06c351b89b (diff)
downloadlinux-5307011537981459b2ba7bc1b7460cc7ceee74f2.tar.xz
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 <balbi@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20200706133341.476881-5-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/udc/amd5536udc_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/amd5536udc_pci.c b/drivers/usb/gadget/udc/amd5536udc_pci.c
index 80685e4306f3..56258d076abc 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 */