commit | e07b8733d52ab510c584967b5ea7e92074bb0802 | [log] [tgz] |
---|---|---|
author | Andrew Davis <afd@ti.com> | Wed Feb 12 09:29:17 2025 -0600 |
committer | Benjamin Cabé <kartben@gmail.com> | Wed Mar 12 07:13:22 2025 +0100 |
tree | aa0ec502502ea15100a4aa0e1c1c3216be6c8f19 | |
parent | 99de7521ca1d3c31119dfea4674bd7060b8ebf19 [diff] |
drivers: mm: rat: Only fetch region_config from translate_config once We only need to dereference translate_config once to get the current region_config we are working with, do this once at the start of the sections that use it multiple times. The compiler should optimize the multiple fetches anyway, so this is purely for code readability. Signed-off-by: Andrew Davis <afd@ti.com>