Re: [PATCH] staging: lusture: obdclass: Remove unnecessary NULL check

2016-02-20 Thread Greg Kroah-Hartman
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 > --- >

[PATCH] staging: lusture: obdclass: Remove unnecessary NULL check

2016-02-18 Thread Bhaktipriya Shridhar
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