diff options
| author | Ricardo Neri <[email protected]> | 2022-11-28 16:20:01 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2022-12-02 19:47:52 +0000 |
| commit | 3a3073b69c76a8909374c5f9d610ea2f02ba3402 (patch) | |
| tree | f613212f113cafd23e30549ff6371a25e71ae1d3 /lib/fault-inject.c | |
| parent | thermal: intel: hfi: ACK HFI for the same timestamp (diff) | |
| download | kernel-3a3073b69c76a8909374c5f9d610ea2f02ba3402.tar.gz kernel-3a3073b69c76a8909374c5f9d610ea2f02ba3402.zip | |
thermal: intel: hfi: Remove a pointless die_id check
die_id is an u16 quantity. On single-die systems the default value of
die_id is 0. No need to check for negative values.
Plus, removing this check makes Coverity happy.
Signed-off-by: Ricardo Neri <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
