mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
[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
@ -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 New Issue
Block a user