diff options
author | Stephen Boyd <[email protected]> | 2020-05-20 23:04:25 -0700 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2021-03-11 20:22:21 -0600 |
commit | f2590e4b3bc4cd65620f94d281cd95c2e833621e (patch) | |
tree | 2d073fd82de8026d564a5c888f6fb77aa664ac80 /scripts/gdb/linux/tasks.py | |
parent | a07766206baf6272226df577fce920e931706006 (diff) |
soc: qcom: rpmh-rsc: Fold WARN_ON() into if condition
Move the WARN_ON() into the if condition so the compiler can see that
the branch is unlikely() and possibly optimize it better.
Cc: Maulik Shah <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions