From: Stephen Hemminger Date: Wed, 18 May 2011 22:48:22 +0000 (-0700) Subject: remove dead code X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4af1be45c4be855c1053a11dd9d631f7d3c7700f;p=people%2Fms%2Frstp.git remove dead code --- diff --git a/brmon.c b/brmon.c index 4afe5e1..fb54be3 100644 --- a/brmon.c +++ b/brmon.c @@ -75,14 +75,6 @@ static int dump_msg(const struct sockaddr_nl *who, struct nlmsghdr *n, return -1; } -#if 0 - - if (filter.ifindex && ifi->ifi_index != filter.ifindex) - return 0; - - if (filter.up && !(ifi->ifi_flags&IFF_UP)) - return 0; -#endif if (ifi->ifi_family != AF_BRIDGE && ifi->ifi_family != AF_UNSPEC) return 0;