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: NSaurabh Sengar <saurabh.truth@gmail.com> Acked-by: NVasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com>
Showing
想要评论请 注册 或 登录