diff options
author | Masahiro Yamada | 2016-12-14 14:30:12 +0900 |
---|---|---|
committer | Marek Vasut | 2017-01-17 10:26:21 +0100 |
commit | 59ef20303a54305b978453d5cc88f9aea2486021 (patch) | |
tree | b636ca020530afdb0d93cb0f5f0c3cecb6fd2c76 /drivers/usb/gadget | |
parent | 035ebf85b09cf11c820ae9eec414097420741abd (diff) |
usb: dwc2-otg: remove unused variable
GCC 6.1 complains about this.
drivers/usb/gadget/dwc2_udc_otg.c:72:19: warning: 'driver_desc'
defined but not used [-Wunused-const-variable=]
static const char driver_desc[] = DRIVER_DESC;
^~~~~~~~~~~
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/dwc2_udc_otg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c index d72bfdfdd88..cb44374e81a 100644 --- a/drivers/usb/gadget/dwc2_udc_otg.c +++ b/drivers/usb/gadget/dwc2_udc_otg.c @@ -63,13 +63,11 @@ static char *state_names[] = { "WAIT_FOR_NULL_COMPLETE", }; -#define DRIVER_DESC "DWC2 HS USB OTG Device Driver, (c) Samsung Electronics" #define DRIVER_VERSION "15 March 2009" struct dwc2_udc *the_controller; static const char driver_name[] = "dwc2-udc"; -static const char driver_desc[] = DRIVER_DESC; static const char ep0name[] = "ep0-control"; /* Max packet size*/ |