commit | bf9deb29e2b3c5dbc97ce559325f4faa0bad5022 | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rui.silva@linaro.org> | Thu Feb 25 18:05:09 2016 +0000 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Thu Feb 25 16:54:11 2016 -0800 |
tree | 3771414f6d8defb930ffdb62bdd81a3039d23ee3 | |
parent | e915ce48bae606b79150a4d799a30037604a93ed [diff] |
greybus: lights: remove unnecessary check lights can never be NULL at that point since lights_count must be different than zero, and we need only to validate the light_id. Reported-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>