[BRIDGE]: Fix warning in net-2.6.22
The following is leftover from earlier change in net-2.6.22. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
75606dc69a
commit
3e6cf558b0
1 changed files with 0 additions and 1 deletions
|
@ -88,7 +88,6 @@ static int br_set_mac_address(struct net_device *dev, void *p)
|
|||
{
|
||||
struct net_bridge *br = netdev_priv(dev);
|
||||
struct sockaddr *addr = p;
|
||||
struct net_bridge_port *port;
|
||||
|
||||
if (!is_valid_ether_addr(addr->sa_data))
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in a new issue