On Samstag, 29. Oktober 2016 10:03:27 CET Sven Eckelmann wrote:
From: Johannes Berg johannes.berg@intel.com
Instead of providing macros/inline functions to initialize the families, make all users initialize them statically and get rid of the macros.
This reduces the kernel code size by about 1.6k on x86-64 (with allyesconfig).
Signed-off-by: Johannes Berg johannes.berg@intel.com Signed-off-by: David S. Miller davem@davemloft.net [sven@narfation.org: adjust compat code] Signed-off-by: Sven Eckelmann sven@narfation.org
Patch already in net-next
compat-include/net/genetlink.h | 21 ++------------------- net/batman-adv/netlink.c | 25 +++++++++++++++---------- 2 files changed, 17 insertions(+), 29 deletions(-)
Applied in f0f80621705b629aa04ca90411633b9b3dd3c61f [1].
Kind regards, Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/f0f80621705b629aa04ca9041163...