From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 19 Jan 2017 06:57:51 -0700 Subject: [U-Boot] [PATCH 2/2] board_init.c: Always use memset() In-Reply-To: <1484244963-11937-2-git-send-email-trini@konsulko.com> References: <1484244963-11937-1-git-send-email-trini@konsulko.com> <1484244963-11937-2-git-send-email-trini@konsulko.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12 January 2017 at 11:16, Tom Rini wrote: > We can make the code read more easily here by simply using memset() > always as when we don't have an optimized version of the function we > will still have a version of this function around anyhow. > > Cc: Simon Glass > Signed-off-by: Tom Rini > --- > common/init/board_init.c | 18 ------------------ > 1 file changed, 18 deletions(-) I recall this didn't work before, but I'm pleased it now does. Reviewed-by: Simon Glass