From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 12/12] usb: gadget: remove unused shortname variable
Date: Wed, 16 Nov 2016 12:49:40 +0100 [thread overview]
Message-ID: <20161116124940.72db656a@amdc2363> (raw)
In-Reply-To: <1479257416-29389-13-git-send-email-andre.przywara@arm.com>
Hi Andre,
> 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>
> ---
> drivers/usb/gadget/ether.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
> index 497b981..a210d33 100644
> --- a/drivers/usb/gadget/ether.c
> +++ b/drivers/usb/gadget/ether.c
> @@ -76,7 +76,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 */
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
next prev parent reply other threads:[~2016-11-16 11:49 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-16 0:50 [U-Boot] [PATCH 00/12] Fix GCC 6.2 compiler warnings Andre Przywara
2016-11-16 0:50 ` [U-Boot] [PATCH 01/12] ls2080aqds: eth: add missing braces Andre Przywara
2016-11-16 18:00 ` york sun
2016-11-16 0:50 ` [U-Boot] [PATCH 02/12] mtd: cfi_flash: fix indentation Andre Przywara
2016-11-16 11:26 ` Stefan Roese
2016-11-16 18:01 ` york sun
2016-12-04 23:00 ` [U-Boot] [U-Boot,02/12] " Tom Rini
2016-11-16 0:50 ` [U-Boot] [PATCH 03/12] net: e1000: " Andre Przywara
2016-11-29 19:00 ` Joe Hershberger
2016-12-04 23:01 ` [U-Boot] [U-Boot,03/12] " Tom Rini
2016-11-16 0:50 ` [U-Boot] [PATCH 04/12] net: ldpaa_eth: add missing braces Andre Przywara
2016-11-16 18:02 ` york sun
2016-11-16 0:50 ` [U-Boot] [PATCH 05/12] net: rtl8169: remove unneeded definition Andre Przywara
2016-11-29 19:01 ` Joe Hershberger
2016-12-04 23:01 ` [U-Boot] [U-Boot, " Tom Rini
2016-11-16 0:50 ` [U-Boot] [PATCH 06/12] marvell: comphy_a3700: fix bitmask Andre Przywara
2016-11-16 11:32 ` Stefan Roese
2016-11-16 12:08 ` Kostya Porotchkin
2016-12-04 23:02 ` [U-Boot] [U-Boot,06/12] " Tom Rini
2016-11-16 0:50 ` [U-Boot] [PATCH 07/12] usb: eth: r8152_fw: fix indentation Andre Przywara
2016-11-16 11:20 ` Marek Vasut
2016-11-29 19:48 ` Joe Hershberger
2016-12-04 23:03 ` [U-Boot] [U-Boot,07/12] " Tom Rini
2016-11-16 0:50 ` [U-Boot] [PATCH 08/12] davinci: da8xxevm: " Andre Przywara
2016-12-04 23:04 ` [U-Boot] [U-Boot,08/12] " Tom Rini
2016-11-16 0:50 ` [U-Boot] [PATCH 09/12] phy: micrel: add missing braces Andre Przywara
2016-11-16 11:20 ` Marek Vasut
2016-11-16 0:50 ` [U-Boot] [PATCH 10/12] cmd: tpm_test: fix indentation Andre Przywara
2016-11-17 19:50 ` Simon Glass
2016-11-16 0:50 ` [U-Boot] [PATCH 11/12] Xilinx ZynqMP: fix minimum SDHCI frequency Andre Przywara
2016-11-16 6:34 ` Michal Simek
2016-11-16 6:37 ` Michal Simek
2016-11-16 8:14 ` André Przywara
2016-11-16 8:26 ` Michal Simek
2016-11-16 0:50 ` [U-Boot] [PATCH 12/12] usb: gadget: remove unused shortname variable Andre Przywara
2016-11-16 11:20 ` Marek Vasut
2016-11-16 11:49 ` Lukasz Majewski [this message]
2016-12-04 23:05 ` [U-Boot] [U-Boot, " Tom Rini
2016-12-04 23:06 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161116124940.72db656a@amdc2363 \
--to=l.majewski@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox