From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 1 Feb 2011 18:01:59 +0100 Subject: [U-Boot] [PATCH] BLOCK: Fixup iMX51 ATA driver In-Reply-To: <4D47B237.1030901@denx.de> References: <1291040285-4047-1-git-send-email-marek.vasut@gmail.com> <4D47B237.1030901@denx.de> Message-ID: <201102011801.59609.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 01 February 2011 08:11:51 Stefano Babic wrote: > On 11/29/2010 03:18 PM, Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > Hi Marek, > > in my regression tests to check if all IMX boards are compiled clean I > found the following warnings (efikamx): > > mxc_ata.c:90: warning: 'pio_t0' defined but not used > mxc_ata.c:93: warning: 'pio_t2_16' defined but not used > mxc_ata.c:94: warning: 'pio_t2i' defined but not used > > As I have already merged your patch into u-boot-imx (and Albert has > already merged it in u-boot-arm), I will post a patch on top of it to > remove them. Anyway, have you expected that these three variables are > not used at all ? Could I remove them ? Yes, you can remove them. They are unused in the original freescale driver too, stupid sed-mistake. Thanks for the good catch :) > > Regards, > Stefano