diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-04-20 19:39:17 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:29:16 -0400 |
commit | 3e6cf558b0098a15d8c360c4eaad3e4d719a555a (patch) | |
tree | 4ff28c051bc58fd98c3e42bbe02f1a0dfaa9fe11 /net | |
parent | 75606dc69adcfff433bca0ff747538d8495da0ab (diff) |
[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>
Diffstat (limited to 'net')
-rw-r--r-- | net/bridge/br_device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 39b87dad35b..5e1892d8d87 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; |