From: Sachin Kamat Date: Wed, 9 Oct 2013 10:28:27 +0000 (+0530) Subject: staging: lustre: Do not use 0 for NULL pointer in console.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=aad7b60bf1b402913311f2cc4899e691356ea9a2;p=deliverable%2Flinux.git staging: lustre: Do not use 0 for NULL pointer in console.c Do not use 0 for NULL pointer. Signed-off-by: Sachin Kamat Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/selftest/console.c b/drivers/staging/lustre/lnet/selftest/console.c index 09e4700af640..f1152e4fbcc4 100644 --- a/drivers/staging/lustre/lnet/selftest/console.c +++ b/drivers/staging/lustre/lnet/selftest/console.c @@ -797,7 +797,7 @@ lstcon_group_info(char *name, lstcon_ndlist_ent_t *gents_p, return rc; } - if (dents_up != 0) { + if (dents_up) { /* verbose query */ rc = lstcon_nodes_getent(&grp->grp_ndl_list, index_p, count_p, dents_up);