[U-Boot] [PATCH] usb: Remove unused hcd_name variable
Tom Rini
trini at konsulko.com
Sat Jan 27 19:57:30 UTC 2018
Both the isp116x-hcd and r8a66597-hcd drivers have an unused hcd_name
variable, drop. isp116x-hcd also defines an unused DRIVER_VERSION, so
drop that while in here.
Cc: Marek Vasut <marex at denx.de> (maintainer:USB)
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/usb/host/isp116x-hcd.c | 3 ---
drivers/usb/host/r8a66597-hcd.c | 1 -
2 files changed, 4 deletions(-)
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c
index 32874d73de84..d1d2d6bd9599 100644
--- a/drivers/usb/host/isp116x-hcd.c
+++ b/drivers/usb/host/isp116x-hcd.c
@@ -92,9 +92,6 @@
#include "isp116x.h"
-#define DRIVER_VERSION "08 Jan 2007"
-static const char hcd_name[] = "isp116x-hcd";
-
struct isp116x isp116x_dev;
struct isp116x_platform_data isp116x_board;
static int got_rhsc; /* root hub status change */
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index e0ca2cb0d4c5..9dbb18343aaa 100644
--- a/drivers/usb/host/r8a66597-hcd.c
+++ b/drivers/usb/host/r8a66597-hcd.c
@@ -20,7 +20,6 @@
#define R8A66597_DPRINT(...)
#endif
-static const char hcd_name[] = "r8a66597_hcd";
static struct r8a66597 gr8a66597;
static void get_hub_data(struct usb_device *dev, u16 *hub_devnum, u16 *hubport)
--
2.7.4
More information about the U-Boot
mailing list