Files
linux-stable-mirror/include/net
Xiang Mei f81f4e79b1 bonding: remove unused bond_is_first_slave and bond_is_last_slave macros
Since commit 2884bf72fb ("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>
2026-04-08 19:07:08 -07:00
..
2025-11-03 16:49:53 +09:00
2025-07-08 18:05:25 -07:00
2025-08-26 17:34:31 -07:00
2025-09-03 15:16:49 -07:00
2026-01-21 19:28:32 -08:00
2025-09-18 12:32:06 +02:00
2025-07-04 09:32:35 +02:00
2025-09-08 18:06:21 -07:00
2026-03-13 18:57:45 -07:00
2026-04-06 19:14:27 -07:00
2025-07-11 11:00:57 -07:00
2026-03-13 18:57:44 -07:00
2026-02-10 20:21:48 -08:00
2026-03-16 19:28:21 -07:00