Tag: 11d5c7894bfb24955ebc3f7675f93f9377c6e7ae

Staging: lustre: obdclass: genops.c: Remove explicit NULL comparison

Author: Shraddha Barke <shraddha.6596@gmail.com> 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 Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/obdclass/genops.c | 54 ++++++++++++————- 1 file changed, 27 insertions(+), 27 deletions(-)   diff –git a/drivers/staging/lustre/lustre/obdclass/genops.c b/drivers/staging/lustre/lustre/obdclass/genops.c index efb433da..64af0ab 100644 — …

Continue reading