Tag: dd550e40e1d1f09964b6c2fb0e52ce3e7229404f

Staging: lustre: obdclass: obd_config.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 — …/staging/lustre/lustre/obdclass/obd_config.c | 30 +++++++++++———– 1 file changed, 15 insertions(+), 15 deletions(-)   diff –git a/drivers/staging/lustre/lustre/obdclass/obd_config.c b/drivers/staging/lustre/lustre/obdclass/obd_config.c index 7a5e87c..32b40ea 100644 — …

Continue reading