]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bonding: remove bonding_priv.h
authorBreno Leitao <leitao@debian.org>
Wed, 18 Mar 2026 12:22:48 +0000 (05:22 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Mar 2026 01:32:35 +0000 (18:32 -0700)
commit79cfb2d1f25a2de43d846d91143c8b66e99688e5
treeb5e35b3774fd455c6cd764797f82e6f6eaebef31
parenteb2415854f3ba7d95c4f30d259f6f598ab604616
bonding: remove bonding_priv.h

bonding_priv.h only defined DRV_NAME and DRV_DESCRIPTION, but caused
unnecessary recompilation: it included <generated/utsrelease.h> to
define bond_version, which is used solely in bond_procfs.c. With
CONFIG_LOCALVERSION_AUTO=y, utsrelease.h is regenerated on every git
commit, so any git operation triggered recompilation of bond_main.c
which also included bonding_priv.h.

Remove the header entirely, as suggested by Jakub, given the macros on
this file can be integrated into the C files directly.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260318-bond_uts-v2-1-033fe0d4e903@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_procfs.c
drivers/net/bonding/bonding_priv.h [deleted file]