summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-21 03:39:17 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 09:29:16 +0400
commit3e6cf558b0098a15d8c360c4eaad3e4d719a555a (patch)
tree4ff28c051bc58fd98c3e42bbe02f1a0dfaa9fe11 /net/bridge
parent75606dc69adcfff433bca0ff747538d8495da0ab (diff)
downloadlinux-3e6cf558b0098a15d8c360c4eaad3e4d719a555a.tar.xz
[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/bridge')
-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)
{
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;