From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 16 Nov 2011 20:51:58 +0100 Subject: [U-Boot] [PATCH] davinci, mmc: fix gcc 4.6 build warnings In-Reply-To: <1320038153-24364-1-git-send-email-hs@denx.de> References: <1320038153-24364-1-git-send-email-hs@denx.de> Message-ID: <20111116195158.2B59C140874F@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 Heiko Schocher, In message <1320038153-24364-1-git-send-email-hs@denx.de> you wrote: > Fix: > davinci_mmc.c: In function 'dmmc_wait_fifo_status': > davinci_mmc.c:72:7: warning: variable 'mmcstatus1' set but not used [-Wunused-but-set-variable] > davinci_mmc.c: In function 'dmmc_busy_wait': > davinci_mmc.c:89:7: warning: variable 'mmcstatus1' set but not used [-Wunused-but-set-variable] > > Delete the unused variable. > > Signed-off-by: Heiko Schocher > Cc: Sandeep Paulraj > Cc: Albert ARIBAUD > --- > drivers/mmc/davinci_mmc.c | 7 +++---- > 1 files changed, 3 insertions(+), 4 deletions(-) Applied, thanks. Sandeep, Albert: hope this is OK with you. 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 There are three ways to get something done: (1) Do it yourself. (2) Hire someone to do it for you. (3) Forbid your kids to do it.