Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933095AbbFWMFF (ORCPT ); Tue, 23 Jun 2015 08:05:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49752 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932630AbbFWMAV (ORCPT ); Tue, 23 Jun 2015 08:00:21 -0400 Date: Tue, 23 Jun 2015 14:00:17 +0200 From: David Sterba To: Maninder Singh Cc: clm@fb.com, jbacik@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, pankaj.m@samsung.com Subject: Re: [PATCH 1/1] Btrfs: Remove redundant NULL check before kfree Message-ID: <20150623120017.GZ6761@suse.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Maninder Singh , clm@fb.com, jbacik@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, pankaj.m@samsung.com References: <1435039080-2952-1-git-send-email-maninder1.s@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435039080-2952-1-git-send-email-maninder1.s@samsung.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 537 Lines: 13 On Tue, Jun 23, 2015 at 11:28:00AM +0530, Maninder Singh wrote: > There is no need of NULL check before kfree, > removing the same > > Signed-off-by: Maninder Singh > Reviewed-by: Akhilesh Kumar Reviewed-by: David Sterba -- 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/