From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Subject: Re: [v3 PATCH 2/3] crypto: atmel-aes/tdes - remove empty functions Date: Mon, 6 Nov 2017 15:09:01 +0800 Message-ID: <20171106070901.GE14274@gondor.apana.org.au> References: <20171026133549.20654-1-tudor.ambarus@microchip.com> <20171102151225.12949-1-tudor.ambarus@microchip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-crypto@vger.kernel.org To: Tudor Ambarus Return-path: Received: from orcrist.hmeau.com ([104.223.48.154]:51746 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626AbdKFHJa (ORCPT ); Mon, 6 Nov 2017 02:09:30 -0500 Content-Disposition: inline In-Reply-To: <20171102151225.12949-1-tudor.ambarus@microchip.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Thu, Nov 02, 2017 at 05:12:25PM +0200, Tudor Ambarus wrote: > Pointer members of an object with static storage duration, if not > explicitly initialized, will be initialized to a NULL pointer. > The crypto API checks if these pointers are not NULL before using them, > therefore we can safely remove these empty functions. > > Signed-off-by: Tudor Ambarus Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt