Re: [PATCH net-next] net: Remove unnecessary intermediate variables
From: Joe Perches
Date: Sat Aug 22 2020 - 17:20:36 EST
On Sat, 2020-08-22 at 14:07 -0700, David Miller wrote:
> From: Joe Perches <joe@xxxxxxxxxxx>
> Date: Sat, 22 Aug 2020 14:03:31 -0700
>
> > The compiler didn't inline the code without it.
>
> Then the compiler had a good reason for doing so,
The "good" word choice there is slightly dubious.
Compilers make bad decisions all the time.
> or it's a compiler bug that should be reported.
<shrug>
Or just behavioral changes between versions, or
even just random compiler decisions that causes
known unrepeatable compilation output.
That happens all the time.
If you want it just as static without the
inline/__always_inline marking, let me know.