Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338821

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

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: lusture: obdclass: Remove unnecessary NULL check
Date 2016-02-21 00:40 +0100
Message-ID <r4pi1-5bF-1@gated-at.bofh.it> (permalink)
References <r3yGK-7yp-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@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 :(

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging: lusture: obdclass: Remove unnecessary NULL check Bhaktipriya Shridhar <bhaktipriya96@gmail.com> - 2016-02-18 16:30 +0100
  Re: [PATCH] staging: lusture: obdclass: Remove unnecessary NULL check Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-21 00:40 +0100

csiph-web