aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bridge/br_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
index 39b87dad35b7..5e1892d8d874 100644
--- a/net/bridge/br_device.c
+++ b/net/bridge/br_device.c
@@ -88,7 +88,6 @@ static int br_set_mac_address(struct net_device *dev, void *p)
88{ 88{
89 struct net_bridge *br = netdev_priv(dev); 89 struct net_bridge *br = netdev_priv(dev);
90 struct sockaddr *addr = p; 90 struct sockaddr *addr = p;
91 struct net_bridge_port *port;
92 91
93 if (!is_valid_ether_addr(addr->sa_data)) 92 if (!is_valid_ether_addr(addr->sa_data))
94 return -EINVAL; 93 return -EINVAL;