Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bae74104 authored by Steve Cohen's avatar Steve Cohen
Browse files

disp: msm: reduce complexity in _get_rc_table_index



Fix checks and lower the cyclomatic complexity for this function
by replacing non-trivial conditional logic with look-up tables.

Change-Id: I731d228d00c90d14faa02115f50c0ddfa4ac5c19
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent c587442d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment