summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cisco
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-01-01 07:30:17 +0400
committerDavid S. Miller <davem@davemloft.net>2013-01-04 10:37:36 +0400
commit15c6ff3bc0ff3464a8c7efcdea09c86454571622 (patch)
treece49a0d1f0b5f4cd075d3df0875c0bf0a44ee4ad /drivers/net/ethernet/cisco
parentfbdeca2d7753aa1ab929aeb77ccc46489eed02b9 (diff)
downloadlinux-15c6ff3bc0ff3464a8c7efcdea09c86454571622.tar.xz
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 'drivers/net/ethernet/cisco')
-rw-r--r--drivers/net/ethernet/cisco/enic/enic_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cisco/enic/enic_main.c b/drivers/net/ethernet/cisco/enic/enic_main.c
index 64866ff1aea0..ebccebff1437 100644
--- a/drivers/net/ethernet/cisco/enic/enic_main.c
+++ b/drivers/net/ethernet/cisco/enic/enic_main.c
@@ -865,7 +865,6 @@ static int enic_set_mac_addr(struct net_device *netdev, char *addr)
}
memcpy(netdev->dev_addr, addr, netdev->addr_len);
- netdev->addr_assign_type &= ~NET_ADDR_RANDOM;
return 0;
}