summaryrefslogtreecommitdiff
path: root/lib/utils/timer/fdt_timer_mtimer.c
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2025-02-13 14:48:38 -0800
committerAnup Patel <[email protected]>2025-02-19 18:22:52 +0530
commitf95d1140f61d4afdd922379bff40edf8556c64e4 (patch)
tree50321cd265dd39f693472f5c3b2fb1b98aa71bc1 /lib/utils/timer/fdt_timer_mtimer.c
parent38df94422b68cb9e20ad19a507fc91ac10c20b14 (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/timer/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions