]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Redundant lines removed.
authorOndrej Filip <feela@network.cz>
Tue, 26 Feb 2013 13:13:11 +0000 (14:13 +0100)
committerOndrej Filip <feela@network.cz>
Tue, 26 Feb 2013 13:13:11 +0000 (14:13 +0100)
proto/rip/rip.c

index 5007715d62611d4f809741826db50c8ca0fe4d16..8d9271d46f2f66cd72223909d5e8a0285b2717b3 100644 (file)
@@ -531,13 +531,10 @@ rip_timer(timer *t)
   WALK_LIST_DELSAFE( e, et, P->garbage ) {
     rte *rte;
     rte = SKIP_BACK( struct rte, u.rip.garbage, e );
-#ifdef LOCAL_DEBUG
-    {
-      struct proto *p = rte->attrs->proto;
-      CHK_MAGIC;
-    }
+
+    CHK_MAGIC;
+
     DBG( "Garbage: (%p)", rte ); rte_dump( rte );
-#endif
 
     if (now - rte->lastmod > P_CF->timeout_time) {
       TRACE(D_EVENTS, "entry is too old: %I", rte->net->n.prefix );