Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751435AbdHaSLC (ORCPT ); Thu, 31 Aug 2017 14:11:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:41800 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750955AbdHaSLB (ORCPT ); Thu, 31 Aug 2017 14:11:01 -0400 Date: Thu, 31 Aug 2017 20:10:59 +0200 Message-ID: From: Takashi Iwai To: "Himanshu Jha" Cc: , , Subject: Re: [PATCH] ALSA: ctxfi: Remove null check before kfree In-Reply-To: <1504192002-12105-1-git-send-email-himanshujha199640@gmail.com> References: <1504192002-12105-1-git-send-email-himanshujha199640@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 222 Lines: 11 On Thu, 31 Aug 2017 17:06:42 +0200, Himanshu Jha wrote: > > kfree on NULL pointer is a no-op and therefore checking is redundant. > > Signed-off-by: Himanshu Jha Applied, thanks. Takashi