[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 39b87da..5e1892d 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;