On Fri, 2015-09-11 at 07:34 +0530, Shraddha Barke wrote:
> Remove explicit NULL comparison and write it in its simpler form.
> Replacement done with coccinelle:
Hi Shraddha.
If you are going to do these conversions, please
also do the equivalent != NULL conversions:
- e != NULL
+ e
> diff --git
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke
---
drivers/staging/lustre/lustre/obdclass/genops.c | 52 -
1 file changed, 26 insertions(+)
2 matches
Mail list logo