diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-11-16 00:50:16 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-04 13:55:03 -0500 |
commit | a7747affae98636f5dd18401538513056771343e (patch) | |
tree | b8497672d56ef62fdef8024f95a07d97391c26cd /drivers/usb | |
parent | bb72b94e227d292caf158b5b78100c27b2065243 (diff) | |
download | u-boot-imx-a7747affae98636f5dd18401538513056771343e.zip u-boot-imx-a7747affae98636f5dd18401538513056771343e.tar.gz u-boot-imx-a7747affae98636f5dd18401538513056771343e.tar.bz2 |
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: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/ether.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 046ad8c..289e5f1 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -80,7 +80,6 @@ unsigned packet_received, packet_sent; /* Based on linux 2.6.27 version */ #define DRIVER_VERSION "May Day 2005" -static const char shortname[] = "ether"; static const char driver_desc[] = DRIVER_DESC; #define RX_EXTRA 20 /* guard against rx overflows */ |