summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-10-06 10:16:58 -0300
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-18 08:51:24 -0400
commitfbf4aeaae6cb001a4b2ae1a8a4b28812d7910da7 (patch)
tree2d5695cbaf5e0dbca14cd0fb2dc16071ead77ab5 /lib/json.c
parent9c6060d47a78c709db94bf975e8abcaa96daae1c (diff)
ldpd: remove dead code from zsend_redistribute_route()
As a general rule of thumb, we should write functions that do one thing and that do it well. All callers of zsend_redistribute_route() are already checking if the route should be redistributed or not (as the comment says), so we definitely shouldn't bother with that in this function. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions