diff options
author | Daniel Lezcano <[email protected]> | 2023-01-23 16:27:55 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-01-25 16:40:39 +0100 |
commit | b57d62862d171e402fca649882f0fec4e25bd312 (patch) | |
tree | 24528ee3b96edccd6eca00392d48210015b9368a /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 58d1c9fd0e859912ae322d24aa0baedc9030b8ed (diff) |
thermal/core: Remove unneeded ida_destroy()
As per documentation for the ida_destroy() function: "If the IDA is
already empty, there is no need to call this function."
The thermal framework is in the init sequence, so the ida was not yet
used and consequently it is empty in case of error.
There is no need to call ida_destroy(), let's remove the calls.
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Zhang Rui <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions