]> err.no Git - linux-2.6/commitdiff
[BRIDGE]: Fix warning in net-2.6.22
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 20 Apr 2007 23:39:17 +0000 (16:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:16 +0000 (22:29 -0700)
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>
net/bridge/br_device.c

index 39b87dad35b7daed54d45b059896cff80cbb19f0..5e1892d8d874a0eaa8a95c5a697285b11dc25163 100644 (file)
@@ -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;