From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 13 Jan 2014 11:56:25 +0100 Subject: [U-Boot] [PATCH v2 1/6] wandboard: Return from cpu_eth_init() directly In-Reply-To: <1388864193-5716-1-git-send-email-festevam@gmail.com> References: <1388864193-5716-1-git-send-email-festevam@gmail.com> Message-ID: <52D3C659.60301@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 04/01/2014 20:36, 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 (whole series) 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 =====================================================================