From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 11 Feb 2014 11:25:37 +0100 Subject: [U-Boot] [PATCH] hummingboard: Return from cpu_eth_init() directly In-Reply-To: <1390666104-9355-1-git-send-email-festevam@gmail.com> References: <1390666104-9355-1-git-send-email-festevam@gmail.com> Message-ID: <52F9FAA1.3020702@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 25/01/2014 17:08, Fabio Estevam wrote: > From: Fabio Estevam > > There is no need to print an error message when cpu_eth_init() fails because > net/eth.c already prints it. > > In order to simplify the code, just return the value from cpu_eth_init(bis) > directly. > > 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 =====================================================================