[PATCH] NULL check before calling kfree() is not needed.

Greg KH gregkh at linuxfoundation.org
Sun Mar 15 09:14:36 UTC 2015


On Sun, Mar 15, 2015 at 02:12:28PM +0530, Aananth Chellapa Natarajan wrote:
> This patch eliminates a redundant check of argument before calling
> kfree() and therefore reducing kernel image size.
> 
> Signed-off-by: Aananth Chellapa Natarajan <c.n.aananth at gmail.com>
> ---
>  drivers/block/skd_main.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

I do not maintain this file, please always use get_maintainer.pl when
sending patches to determine who, and what mailing lists, to send
patches to.

thanks,

greg k-h


More information about the devel mailing list