Tag: 0ecacb4e43720009a01439605c127ac88e529833

Staging: lustre: libcfs: libcfs_lock.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/libcfs/libcfs_lock.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-)   diff –git a/drivers/staging/lustre/lustre/libcfs/libcfs_lock.c b/drivers/staging/lustre/lustre/libcfs/libcfs_lock.c index 2c199c7..29308ba 100644 — …

Continue reading