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

From: Greg Kroah-Hartman
Date: Sat Feb 20 2016 - 18:35:20 EST


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 <bhaktipriya96@xxxxxxxxx>
> ---
> drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)


Doesn't apply to my tree :(