From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752690AbcBTXeY (ORCPT ); Sat, 20 Feb 2016 18:34:24 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:47792 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbcBTXeW (ORCPT ); Sat, 20 Feb 2016 18:34:22 -0500 Date: Sat, 20 Feb 2016 15:34:21 -0800 From: Greg Kroah-Hartman 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 Subject: Re: [PATCH] staging: lusture: obdclass: Remove unnecessary NULL check Message-ID: <20160220233421.GA25164@kroah.com> References: <20160218152539.GA28252@Karyakshetra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160218152539.GA28252@Karyakshetra> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 :(