diff options
| author | Colin Ian King <[email protected]> | 2021-06-03 12:36:59 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-06-07 16:20:03 +0100 |
| commit | d50b86b3f6abc4ff8a35f706a6b8251a2d4cf58f (patch) | |
| tree | 323e31b4461d6b17aa8c264057a80996879507d9 /tools/perf/scripts/python/bin | |
| parent | 54f6731394520d706c3133aab17aa90434bcf1aa (diff) | |
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 <[email protected]>
Tested-by: Chris Morgan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions