From: Greg Kroah-Hartman Date: Sat, 20 Feb 2016 15:34:21 -0800 Subject: [lustre-devel] [PATCH] staging: lusture: obdclass: Remove unnecessary NULL check In-Reply-To: <20160218152539.GA28252@Karyakshetra> References: <20160218152539.GA28252@Karyakshetra> Message-ID: <20160220233421.GA25164@kroah.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bhaktipriya Shridhar Cc: Oleg Drokin , Andreas Dilger , Dmitry Eremin , Bhumika Goyal , Julia Lawall , Cihangir Akturk , Joe Perches , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, lustre-devel@lists.lustre.org On Thu, Feb 18, 2016 at 08:55:39PM +0530, Bhaktipriya Shridhar wrote: > NULL check before the debugfs_remove_recursive function is not needed. > > This was detected using scripts/coccinelle/free/ifnullfree.cocci > > Signed-off-by: Bhaktipriya Shridhar > --- > drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Doesn't apply to my tree :(