aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2012-12-31 22:30:17 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-04 01:37:36 -0500
commit15c6ff3bc0ff3464a8c7efcdea09c86454571622 (patch)
treece49a0d1f0b5f4cd075d3df0875c0bf0a44ee4ad /net/batman-adv
parentfbdeca2d7753aa1ab929aeb77ccc46489eed02b9 (diff)
net: remove unnecessary NET_ADDR_RANDOM "bitclean"
NET_ADDR_SET is set in dev_set_mac_address() no need to alter dev->addr_assign_type value in drivers. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/soft-interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index 6b548fde8e04..fa388b2c60d7 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -124,7 +124,6 @@ static int batadv_interface_set_mac_addr(struct net_device *dev, void *p)
124 batadv_tt_local_add(dev, addr->sa_data, BATADV_NULL_IFINDEX); 124 batadv_tt_local_add(dev, addr->sa_data, BATADV_NULL_IFINDEX);
125 } 125 }
126 126
127 dev->addr_assign_type &= ~NET_ADDR_RANDOM;
128 return 0; 127 return 0;
129} 128}
130 129