From: Andre Przywara Date: Wed, 16 Nov 2016 00:50:16 +0000 (+0000) Subject: usb: gadget: remove unused shortname variable X-Git-Tag: v2017.01-rc1~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a7747affae98636f5dd18401538513056771343e;p=u-boot 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 Reviewed-by: Marek Vasut Acked-by: Lukasz Majewski --- diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 046ad8ca2b..289e5f1583 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 */