usb: gadget: remove unused shortname variable
authorAndre Przywara <andre.przywara@arm.com>
Wed, 16 Nov 2016 00:50:16 +0000 (00:50 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 4 Dec 2016 18:55:03 +0000 (13:55 -0500)
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>
drivers/usb/gadget/ether.c

index 046ad8ca2bf85afecb37b392da9cd4a61f266600..289e5f15837446b63adaf36b90d6a920e3b01f04 100644 (file)
@@ -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 */