From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 11 Sep 2014 21:36:22 +0200 Subject: [U-Boot] [PATCH] usb: dfu: thor: gadget: Remove dead code In-Reply-To: <5411F565.7050603@myspectrum.nl> References: <1410441971-16983-1-git-send-email-l.majewski@samsung.com> <201409111747.35861.marex@denx.de> <5411F565.7050603@myspectrum.nl> Message-ID: <201409112136.22643.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, September 11, 2014 at 09:17:57 PM, Jeroen Hofstee wrote: > Hello Marek, > > On 11-09-14 17:47, Marek Vasut wrote: > > On Thursday, September 11, 2014 at 03:26:10 PM, Lukasz Majewski wrote: > >> This code is not used anymore in the current DFU implementation and > >> can be safely removed. > >> > >> Signed-off-by: Lukasz Majewski > > > > How come the compiler didn't spew that this is unused ? > > gcc feature, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13029. I see, thanks for pointing this out! Best regards, Marek Vasut