[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1400764324-23221-1-git-send-email-vfalico@gmail.com>
Date: Thu, 22 May 2014 15:12:02 +0200
From: Veaceslav Falico <vfalico@...il.com>
To: netdev@...r.kernel.org
Cc: Jay Vosburgh <j.vosburgh@...il.com>,
Andy Gospodarek <andy@...yhouse.net>,
Veaceslav Falico <vfalico@...il.com>
Subject: [PATCH net-next 0/2] bonding: remove rlb_enabled and alb_set_mac_address()
Hi,
Currently rlb_enabled works as
rlb_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 <j.vosburgh@...il.com>
CC: Andy Gospodarek <andy@...yhouse.net>
CC: netdev@...r.kernel.org
Signed-off-by: Veaceslav Falico <vfalico@...il.com>
---
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(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists