summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorKuan-Wei Chiu <visitorckw@gmail.com>2023-09-26 20:37:36 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-10-16 00:40:10 +0300
commitde84da588f35423c5c2e6a46f2bc8a07f8eaf793 (patch)
tree4e75dd23384cdc7f051eb83583037e5b17395750 /scripts/lib
parentebd1dea94b2e9b60ca8630c7de7602bae08d401d (diff)
downloadlinux-de84da588f35423c5c2e6a46f2bc8a07f8eaf793.tar.xz
tools/thermal: Remove unused 'mds' and 'nrhandler' variables
In the previous code, the 'mds' and 'nrhandler' variables were not utilized in the codebase. Additionally, there was a potential NULL pointer dereference and memory leak due to improper handling of memory reallocation failure. This patch removes the unused 'mds' and 'nrhandler' variables along with the associated code, addressing the unused variable issue, NULL pointer dereference issue and the memory leak issue. Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230926173736.1142420-1-visitorckw@gmail.com
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions