From: Wolfgang Denk Date: Thu, 17 Nov 2011 10:04:11 +0100 Subject: [U-Boot] [PATCH] net: e1000: fix gcc 4.6 compiler warnings In-Reply-To: <1321480020-32662-1-git-send-email-kim.phillips@freescale.com> References: <1321480020-32662-1-git-send-email-kim.phillips@freescale.com> Message-ID: <20111117090411.BEBB6140874F@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 Kim Phillips, In message <1321480020-32662-1-git-send-email-kim.phillips@freescale.com> you wrote: > Configuring for caddy2 - Board: vme8349, Options: CADDY2 > e1000.c: In function 'e1000_reset_hw': > e1000.c:1373:11: warning: variable 'icr' set but not used [-Wunused-but-set-variable] > e1000.c: In function 'e1000_phy_init_script': > e1000.c:4395:11: warning: variable 'ret_val' set but not used [-Wunused-but-set-variable] > > Signed-off-by: Kim Phillips > --- > drivers/net/e1000.c | 6 ++---- > 1 files changed, 2 insertions(+), 4 deletions(-) Thanks, but this has already been fixed by Roy Zang's patch: 11/07 Roy Zang [PATCH] e1000: fix unused variable waring for e1000 driver Gmane: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/115716 Patchwork: 124011 Accepted [U-Boot] e1000: fix unused variable waring for e1000 driver 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 Too many people are ready to carry the stool when the piano needs to be moved.