Skip to content
Commit e07b8733 authored by Andrew Davis's avatar Andrew Davis Committed by Benjamin Cabé
Browse files

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: default avatarAndrew Davis <afd@ti.com>
parent 99de7521
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment