summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_device.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-20 16:39:17 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:29:16 -0700
commit3e6cf558b0098a15d8c360c4eaad3e4d719a555a (patch)
tree4ff28c051bc58fd98c3e42bbe02f1a0dfaa9fe11 /net/bridge/br_device.c
parent75606dc69adcfff433bca0ff747538d8495da0ab (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/bridge/br_device.c')
-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 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)
{
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;