summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2020-12-22 21:11:10 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-01-20 00:23:49 +0300
commitd0df264fbd3c531787dec59c4b3fca854bc7ee49 (patch)
treec62135fe2a445b3d220fbed2fb1b2485144d8696 /rust/helpers/workqueue.c
parentb39d2dd5b5ed08d15711aefd5afd72bd87387c64 (diff)
downloadlinux-d0df264fbd3c531787dec59c4b3fca854bc7ee49.tar.xz
thermal/core: Remove pointless thermal_zone_device_reset() function
The function thermal_zone_device_reset() is called in the thermal_zone_device_register() which allocates and initialize the structure. The passive field is already zero-ed by the allocation, the function is useless. Call directly thermal_zone_device_init() instead and thermal_zone_device_reset(). Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20201222181110.1231977-1-daniel.lezcano@linaro.org
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions