greybus: lights: remove unnecessary checks
We do not need to check for channels and lights as they can never be NULL as a big memory array elements. Signed-off-by: NRui Miguel Silva <rui.silva@linaro.org> Reported-by: NJohan Hovold <johan@hovoldconsulting.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
Showing
想要评论请 注册 或 登录