diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-06-03 14:36:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-07 18:20:03 +0300 |
commit | d50b86b3f6abc4ff8a35f706a6b8251a2d4cf58f (patch) | |
tree | 323e31b4461d6b17aa8c264057a80996879507d9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 54f6731394520d706c3133aab17aa90434bcf1aa (diff) | |
download | linux-d50b86b3f6abc4ff8a35f706a6b8251a2d4cf58f.tar.xz |
ASoC: rk817: remove redundant assignment to pointer node, add missing of_node_put
The pointer node is being initialized with a value that is never read and
it is being updated later with a new value. The initialization is
redundant and can be removed.
The function is missing a of_node_put on node, fix this by adding the call
before returning.
Addresses-Coverity: ("Unused value")
Fixes: 0d6a04da9b25 ("ASoC: Add Rockchip rk817 audio CODEC support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Tested-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20210603113659.82031-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions