[ovs-dev] [PATCH v2] net: openvswitch: pass NULL for unused parameters
davem at davemloft.net
Tue Sep 1 20:11:11 UTC 2020
From: trix at redhat.com
Date: Sun, 30 Aug 2020 14:26:30 -0700
> Passing unused parameters is a waste.
Poorly predicted branches are an even bigger waste.
I'm not a big fan of this change and others have asked for performance
analysis to be performed.
So I'm not applying this as-is, sorry.
It's also not great to see that CLANG can't make use of the caller's
__always_unused directive to guide these warnings.
More information about the dev