summaryrefslogtreecommitdiff
path: root/include/debug_uart.h
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-10-06 11:54:56 +0100
committerTom Rini <[email protected]>2025-10-15 14:17:06 -0600
commitaebf3a98bffa80c3e8f38f3a768bcd78ccbf401a (patch)
tree62bbb1f919a7a2143799e57afb12176842f2eef1 /include/debug_uart.h
parent996ded5463fd48497b6aa904a5647c2533d73ab3 (diff)
test: Remove not needed null check
In ut_report() there is a null check for stats but stats was already dereferenced on the line before and is again dereferenced later in the same function. Also the two places where ut_report() is called from will have initialised the parameter so there is no chance that stats will be null. So to prevent static analysis complaining of a use before check just remove the check. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include/debug_uart.h')
0 files changed, 0 insertions, 0 deletions