From: Stephen Hemminger Date: Fri, 20 Apr 2007 23:39:17 +0000 (-0700) Subject: [BRIDGE]: Fix warning in net-2.6.22 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e6cf558b0098a15d8c360c4eaad3e4d719a555a;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: David S. Miller --- 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;