diff options
| author | Samuel Holland <[email protected]> | 2025-02-13 14:48:38 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-02-19 18:22:52 +0530 |
| commit | f95d1140f61d4afdd922379bff40edf8556c64e4 (patch) | |
| tree | 50321cd265dd39f693472f5c3b2fb1b98aa71bc1 /lib/utils/cppc | |
| parent | 38df94422b68cb9e20ad19a507fc91ac10c20b14 (diff) | |
lib: utils/fdt: Remove redundant PMU property length checks
If a property value is too small, len will be zero after the division
on the next line, so the property will be ignored. This is the same
behavior as when the length check fails. Furthermore, the first two
length checks were already ineffectual, because each item in those
arrays is 12 bytes long, not 8.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions
