Explorar o código

bridge: remove a useless comment

commit 6cbdceeb1cb12c7d620161925a8c3e81daadb2e4
    bridge: Dump vlan information from a bridge port
introduced a comment in an attempt to explain the
code logic. The comment is unfinished so it confuses more
than it explains, remove it.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Michael S. Tsirkin %!s(int64=11) %!d(string=hai) anos
pai
achega
4b7a9168e1
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      net/bridge/br_netlink.c

+ 0 - 1
net/bridge/br_netlink.c

@@ -208,7 +208,6 @@ int br_getlink(struct sk_buff *skb, u32 pid, u32 seq,
 	int err = 0;
 	int err = 0;
 	struct net_bridge_port *port = br_port_get_rtnl(dev);
 	struct net_bridge_port *port = br_port_get_rtnl(dev);
 
 
-	/* not a bridge port and  */
 	if (!port && !(filter_mask & RTEXT_FILTER_BRVLAN))
 	if (!port && !(filter_mask & RTEXT_FILTER_BRVLAN))
 		goto out;
 		goto out;