summaryrefslogtreecommitdiff
path: root/scripts/gcc-stack-usage.sh
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-08-07 15:28:57 +0100
committerTom Rini <[email protected]>2025-08-29 16:44:46 -0600
commit446b7b8f2d9b5b9bcd473c91f1e45cbb77be6c5f (patch)
treef3d2d8b57e49a4927e2f65852b7776243a100264 /scripts/gcc-stack-usage.sh
parent3526f990b77fca1c933f1d8b24eb9385010a05bf (diff)
power: axp: Remove redundant code
In axp_init after checking the chip ID there is an else clause that returns ret. ret is guaranteed to be 0 at this point as the code would have returned above if not. The next statement is a return 0 so the return ret is redundant, remove it. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'scripts/gcc-stack-usage.sh')
0 files changed, 0 insertions, 0 deletions