From: Stephen Hemminger Date: Fri, 20 Apr 2007 23:39:17 +0000 (-0700) Subject: [BRIDGE]: Fix warning in net-2.6.22 X-Git-Tag: v2.6.22-rc1~1128^2~96 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e6cf558b0098a15d8c360c4eaad3e4d719a555a;p=linux-2.6 [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 39b87dad35..5e1892d8d8 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;