diff options
| author | Daniel Lezcano <daniel.lezcano@oss.qualcomm.com> | 2026-04-02 10:44:25 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-04-04 15:05:18 +0200 |
| commit | 761fdf4c8c1c0bd8427f8226be3a3eb5cf896386 (patch) | |
| tree | 9ca33c6c7124fc4c47023bbcf517623bdaddfcc4 /include/asm-avr32/git@git.tavy.me:linux.git | |
| parent | 49c7db1f0b4fbc52435c0f042d95c62a56e9be14 (diff) | |
thermal/core: Remove pointless variable when registering a cooling device
The 'id' variable is set to store the ida_alloc() value which is
already stored into cdev->id. It is pointless to use it because
cdev->id can be used instead.
Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20260402084426.1360086-1-daniel.lezcano@kernel.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/asm-avr32/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
