Remove some stray code
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Fri, 26 Feb 2010 18:02:14 +0000 (20:02 +0200)
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Fri, 26 Feb 2010 18:02:14 +0000 (20:02 +0200)
lib/quagga/src/quagga.c

index bbd27db..3290f23 100644 (file)
@@ -760,7 +760,7 @@ delete_hna4_route(struct ipv4_route r)
 
   net.v4.s_addr = r.prefix;
 
-  ip_prefix_list_remove(&olsr_cnf->hna_entries, &net, r.prefixlen) ? 0 : -1;
+  ip_prefix_list_remove(&olsr_cnf->hna_entries, &net, r.prefixlen);
   free_ipv4_route(r);
   return 0;