Commit 3e6cf558 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[BRIDGE]: Fix warning in net-2.6.22

The following is leftover from earlier change in net-2.6.22.
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 75606dc6
...@@ -88,7 +88,6 @@ static int br_set_mac_address(struct net_device *dev, void *p) ...@@ -88,7 +88,6 @@ static int br_set_mac_address(struct net_device *dev, void *p)
{ {
struct net_bridge *br = netdev_priv(dev); struct net_bridge *br = netdev_priv(dev);
struct sockaddr *addr = p; struct sockaddr *addr = p;
struct net_bridge_port *port;
if (!is_valid_ether_addr(addr->sa_data)) if (!is_valid_ether_addr(addr->sa_data))
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment