[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5655C94F.4070504@linux.vnet.ibm.com>
Date: Wed, 25 Nov 2015 20:14:31 +0530
From: Vasant Hegde <hegdevasant@...ux.vnet.ibm.com>
To: Saurabh Sengar <saurabh.truth@...il.com>, rpurdie@...ys.net,
j.anaszewski@...sung.com, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds/powernv : removing NULL check
On 11/23/2015 02:58 PM, Saurabh Sengar wrote:
> no need to explicitly check for pointer to be null,
> of_prop_next_string anyways return NULL, if passed pointer is NULL
> and hence loop will continue
Thanks! Patch looks good.
-Vasant
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists