Skip to content
Snippets Groups Projects
Commit a7747aff authored by Andre Przywara's avatar Andre Przywara Committed by Tom Rini
Browse files

usb: gadget: remove unused shortname variable


The shortname variable isn't referenced anywhere in the code, so just
remove it.

Pointed out by a GCC 6.2 default warning option.

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
parent bb72b94e
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,6 @@ unsigned packet_received, packet_sent; ...@@ -80,7 +80,6 @@ unsigned packet_received, packet_sent;
/* Based on linux 2.6.27 version */ /* Based on linux 2.6.27 version */
#define DRIVER_VERSION "May Day 2005" #define DRIVER_VERSION "May Day 2005"
static const char shortname[] = "ether";
static const char driver_desc[] = DRIVER_DESC; static const char driver_desc[] = DRIVER_DESC;
#define RX_EXTRA 20 /* guard against rx overflows */ #define RX_EXTRA 20 /* guard against rx overflows */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment