summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-02-20 01:41:36 +0300
committerKhem Raj <raj.khem@gmail.com>2018-02-20 07:18:34 +0300
commita2b27e8f4d940562c3549b49bbd32c7113307e3e (patch)
tree9e987f8248a46042652298035e4c11f2120cc1f2
parent490ed055c30ad449489bbeea6a9f80864250e7bd (diff)
downloadu-boot-a2b27e8f4d940562c3549b49bbd32c7113307e3e.tar.xz
usb: s3c-otg: remove unused variable
GCC 7 complains about this. drivers/usb/gadget/s3c_udc_otg.c:72:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=] static const char driver_desc[] = DRIVER_DESC; ^~~~~~~~~~~ based on https://github.com/u-boot/u-boot/commit/59ef20303a54305b978453d5cc88f9aea2486021 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--drivers/usb/gadget/s3c_udc_otg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c
index e6325e2605..00be8d7593 100644
--- a/drivers/usb/gadget/s3c_udc_otg.c
+++ b/drivers/usb/gadget/s3c_udc_otg.c
@@ -62,13 +62,11 @@ static char *state_names[] = {
"WAIT_FOR_NULL_COMPLETE",
};
-#define DRIVER_DESC "S3C HS USB OTG Device Driver, (c) Samsung Electronics"
#define DRIVER_VERSION "15 March 2009"
struct s3c_udc *the_controller;
static const char driver_name[] = "s3c-udc";
-static const char driver_desc[] = DRIVER_DESC;
static const char ep0name[] = "ep0-control";
/* Max packet size*/