diff options
| author | Xiang Mei <xmei5@asu.edu> | 2026-04-04 15:04:12 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-08 19:07:08 -0700 |
| commit | f81f4e79b192be6c43abb256ea7da3a7dfb7899d (patch) | |
| tree | 7bd46e5249ff79cf16d0adcb672f7d68698afa61 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | bd5c24e4001d39136e1084fc47335c93e4ebbb0d (diff) | |
bonding: remove unused bond_is_first_slave and bond_is_last_slave macros
Since commit 2884bf72fb8f ("net: bonding: fix use-after-free in
bond_xmit_broadcast()"), bond_is_last_slave() was only used in
bond_xmit_broadcast(). After the recent fix replaced that usage with
a simple index comparison, bond_is_last_slave() has no remaining
callers. bond_is_first_slave() likewise has no callers.
Remove both unused macros.
Signed-off-by: Xiang Mei <xmei5@asu.edu>
Link: https://patch.msgid.link/20260404220412.444753-1-xmei5@asu.edu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
