diff options
| author | Daniel Lezcano <[email protected]> | 2020-12-22 19:11:10 +0100 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2021-01-19 22:23:49 +0100 |
| commit | d0df264fbd3c531787dec59c4b3fca854bc7ee49 (patch) | |
| tree | c62135fe2a445b3d220fbed2fb1b2485144d8696 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | b39d2dd5b5ed08d15711aefd5afd72bd87387c64 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions