From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 16 Nov 2011 21:16:28 +0100 Subject: [U-Boot] [PATCH 11/19] sata_dwc.c: Fix GCC 4.6 build warnings In-Reply-To: <1321380169-6634-1-git-send-email-sr@denx.de> References: <1321380169-6634-1-git-send-email-sr@denx.de> Message-ID: <20111116201628.B2FC6140874F@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 <1321380169-6634-1-git-send-email-sr@denx.de> you wrote: > Fix: > sata_dwc.c: In function 'sata_dwc_softreset': > sata_dwc.c:444:5: warning: variable 'status' set but not used [-Wunused-but-set-variable] > sata_dwc.c:443:6: warning: variable 'serror' set but not used [-Wunused-but-set-variable] > sata_dwc.c: In function 'scan_sata': > sata_dwc.c:654:16: warning: variable 'lba_desc' set but not used [-Wunused-but-set-variable] > sata_dwc.c:538:16: warning: variable 'xfer_mask' set but not used [-Wunused-but-set-variable] > sata_dwc.c: In function 'ata_dev_read_id': > sata_dwc.c:747:14: warning: variable 'reason' set but not used [-Wunused-but-set-variable] > sata_dwc.c: In function 'ata_dev_read_sectors': > sata_dwc.c:1810:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] > sata_dwc.c: In function 'ata_dev_write_sectors': > sata_dwc.c:1994:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] > > Signed-off-by: Stefan Roese > --- > drivers/block/sata_dwc.c | 35 +++-------------------------------- > 1 files changed, 3 insertions(+), 32 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 I have yet to add the ESP-driver to the kernel to read the mind of the user... - Linus Torvalds in