From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sat, 05 Jan 2013 18:11:24 +0100 Subject: [U-Boot] [PATCH v2 1/2] mx53loco: Remove unneeded 'retval' variable In-Reply-To: <1356703529-31737-1-git-send-email-festevam@gmail.com> References: <1356703529-31737-1-git-send-email-festevam@gmail.com> Message-ID: <50E85EBC.1010905@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 On 28/12/2012 15:05, Fabio Estevam wrote: > From: Fabio Estevam > > commit c73368150 (pmic: Extend PMIC framework to support multiple instances > of PMIC devices) introduced an extra 'retval' variable, but this is not > necessary since we have already the variable 'ret' in place. > > So use 'ret' to store the return values from the pmic related calls and remove > 'retval'. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================