On 29/09/2025 1:36 pm, Teddy Astie wrote: > flush_vcpu static function here is only used in one place which is just below > where it is defined. Inline the function to reduce the noise and clarify > what we are doing. > > No functional change. > > Signed-off-by: Teddy Astie <[email protected]>
Have you read the commit message introducing this pattern? It's 11d9e114b53045e5f2009a26dad1d0d0f7df441e for reference. The compiler will do the sensible thing. What matters is the cognitive complexity of the source code. ~Andrew
