[lustre-devel] [PATCH] staging: lusture: obdclass: Remove unnecessary NULL check

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sat Feb 20 15:34:21 PST 2016


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


Doesn't apply to my tree :(



More information about the lustre-devel mailing list