diff options
author | Pierre-Louis Bossart <[email protected]> | 2021-03-02 17:11:20 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-03-30 11:51:43 +0530 |
commit | a5943e4fb14e36df980f1814e2bd5ed3e4de4e87 (patch) | |
tree | 41b96bcc4191adcdd75ca0dd3519042048c2c374 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3f9c59ef8f7682d2a0572053034648b16d72df7f (diff) |
soundwire: qcom: check of_property_read status
Cppcheck complains:
drivers/soundwire/qcom.c:773:6: style: Variable 'ret' is assigned a
value that is never used. [unreadVariable]
ret = of_property_read_u8_array(np, "qcom,ports-block-pack-mode",
^
The return value is checked for all other cases, not sure why it was
missed here.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions