Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758189Ab3IBLcg (ORCPT ); Mon, 2 Sep 2013 07:32:36 -0400 Received: from mga14.intel.com ([143.182.124.37]:32751 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755365Ab3IBLcf (ORCPT ); Mon, 2 Sep 2013 07:32:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,1006,1367996400"; d="scan'208";a="389914331" Date: Mon, 2 Sep 2013 16:16:27 +0530 From: Vinod Koul To: Sachin Kamat Cc: linux-kernel@vger.kernel.org, djbw@fb.com, Sascha Hauer Subject: Re: [PATCH 1/1] dma: imx-dma: Remove redundant NULL check Message-ID: <20130902104627.GN7376@intel.com> References: <1378108278-4051-1-git-send-email-sachin.kamat@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1378108278-4051-1-git-send-email-sachin.kamat@linaro.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 409 Lines: 12 On Mon, Sep 02, 2013 at 01:21:18PM +0530, Sachin Kamat wrote: > kfree on a NULL pointer is a no-op. Null pointer check is > not necessary. Applied, thanks ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/