Skip to content
Commit 5a7c536f authored by Saurabh Sengar's avatar Saurabh Sengar Committed by Jacek Anaszewski
Browse files

leds: powernv: removing NULL check



No need to explicitly check for pointer to be null,
of_prop_next_string anyways returns NULL, if passed pointer is NULL
and hence loop will continue.

Signed-off-by: default avatarSaurabh Sengar <saurabh.truth@gmail.com>
Acked-by: default avatarVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
parent b964c5ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment