Tag: fdf21a324c0519dc6b0b74a438dbd018f956c49d

Staging: lustre: libcfs: libcfs_mem.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_mem.c | 10 +++++—– 1 file changed, 5 insertions(+), 5 deletions(-)   diff –git a/drivers/staging/lustre/lustre/libcfs/libcfs_mem.c b/drivers/staging/lustre/lustre/libcfs/libcfs_mem.c index 1debdda..f4e08da 100644 — …

Continue reading