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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| mm_drv_bank.c | ||
| mm_drv_common.c | ||
| mm_drv_common.h | ||
| mm_drv_intel_adsp_mtl_tlb.c | ||
| mm_drv_intel_adsp_regions.c | ||
| mm_drv_intel_adsp_tlb.c | ||
| mm_drv_intel_adsp.h | ||
| mm_drv_ti_rat.c | ||