diff options
| author | Alex Elder | 2016-05-24 13:34:50 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2016-05-27 11:28:16 -0700 |
| commit | d97fca12e92d3179554baf4db42611e5fe56aeed (patch) | |
| tree | 9c99f92c2a58ad2849102803ed5c177f796c3e3f /tools | |
| parent | 66394300c37e9321a913f269021b3d6c92d786ad (diff) | |
greybus: fix pointless null check
Coccinelle points out that a call in gb_lights_channel_free() to
flush_work() is passed which is always non-null. Prior to the
call, there is an unnecessary check to see if that address is null.
Get rid of the test.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
