diff options
| author | Christophe JAILLET <[email protected]> | 2025-02-24 19:49:28 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-02-27 20:18:42 +0000 |
| commit | 067345f11ae9f49c9bc84b5eff6672f565454aca (patch) | |
| tree | 0241511d4414f9d06bc08da5f13710d11284c377 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | thermal: hisi: Use kcalloc() instead of kzalloc() with multiplication (diff) | |
| download | kernel-067345f11ae9f49c9bc84b5eff6672f565454aca.tar.gz kernel-067345f11ae9f49c9bc84b5eff6672f565454aca.zip | |
thermal: intel: Clean up zone_trips[] initialization in int340x_thermal_zone_add()
'zone_trips[]' has just been allocated with kzalloc(), so .flags is
known to be 0, so assign THERMAL_TRIP_FLAG_RW_TEMP directly to it.
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://patch.msgid.link/cceb7f8864c43f046cf1c19c3bbcc38a7a57adc5.1740426540.git.christophe.jaillet@wanadoo.fr
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
