bonding: remove rlb_enabled and alb_set_mac_address()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bonding: remove rlb_enabled and use mode == ALB insteaddrivers/ drivers/ drivers/ | +17 | 0 replies | |
| 2/2 | bonding: remove alb_set_mac_address()drivers/ | +0 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/2] bonding: remove rlb_enabled and alb_set_mac_address()
Hi,
Currently rlb_enabled works asrlb_enabled == (BOND_MODE(bond) == BOND_MODE_ALB)
so we can always use this verification and drop maintenance of this variable.
alb_set_mac_address(), OTOH, isn't used at all (as the mac changing logic is used in other parts), and isn't ever called, so it's safe to remove it as well.
CC Jay Vosburgh <[email protected]>
CC Andy Gospodarek <[email protected]>
Signed-off-by Veaceslav Falico <[email protected]>
--- drivers/net/bonding/bond_alb.c | 95 ++++++----------------------------------- drivers/net/bonding/bond_alb.h | 3 +- drivers/net/bonding/bond_main.c | 2 +- 3 files changed, 16 insertions(+), 84 deletions(-)