From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 1 Jun 2014 19:30:25 +0200 Subject: [U-Boot] [RFC PATCH 01/22] stdio: Remove redundant code around stdio_register() calls In-Reply-To: <1400966481-14131-2-git-send-email-sjg@chromium.org> References: <1400966481-14131-1-git-send-email-sjg@chromium.org> <1400966481-14131-2-git-send-email-sjg@chromium.org> Message-ID: <201406011930.26025.marex@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 Saturday, May 24, 2014 at 11:21:00 PM, Simon Glass wrote: > There is no point in setting a structure memory to NULL when it has already > been zeroed with memset(). > > Also, there is no need to create a stub function for stdio to call - if the > function is NULL it will not be called. > > This is a clean-up, with no change in functionality. > > Signed-off-by: Simon Glass Acked-by: Marek Vasut Best regards, Marek Vasut