From: Wolfgang Denk Date: Wed, 16 Nov 2011 21:14:23 +0100 Subject: [U-Boot] [PATCH 03/19] 4xx_enet.c: Fix GCC 4.6 build warnings In-Reply-To: <1321380118-6257-1-git-send-email-sr@denx.de> References: <1321380118-6257-1-git-send-email-sr@denx.de> Message-ID: <20111116201423.806B0140874F@gemini.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 Dear Stefan Roese, In message <1321380118-6257-1-git-send-email-sr@denx.de> you wrote: > Fix: > 4xx_enet.c: In function 'ppc_4xx_eth_init': > 4xx_enet.c:875:6: warning: variable 'ethgroup' set but not used [-Wunused-but-set-variable] > > I used "__maybe_unused" here intentionally, since all other > alternatives to fix this compilation warning would result in more > ifdef's. > > Signed-off-by: Stefan Roese > --- > drivers/net/4xx_enet.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If A equals success, then the formula is A = X + Y + Z. X is work. Y is play. Z is keep your mouth shut. - Albert Einstein