From: Donald Sharp Date: Mon, 12 Sep 2016 19:09:28 +0000 (-0400) Subject: pimd: Startup does not need to assert X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~232 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f3f0c4f8ccefaf38470716bd4c38eae6e7937aa3;p=mirror%2Ffrr.git pimd: Startup does not need to assert When pim starts up there is no need to assert in pim_init if state is not set as wanted. Especially for qpim_debugs as that I would like to turn on debugs before we even start doing anything in the code. As for the PIM_MROUTE_IS_ENABLED, the variable is set right above it, so no need to assert on it. Signed-off-by: Donald Sharp --- diff --git a/pimd/pimd.c b/pimd/pimd.c index 881c75dfb4..94c8f20e97 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -139,9 +139,6 @@ void pim_init() qpim_mroute_socket_fd = -1; /* mark mroute as disabled */ qpim_mroute_oif_highest_vif_index = -1; - zassert(!qpim_debugs); - zassert(!PIM_MROUTE_IS_ENABLED); - qpim_inaddr_any.s_addr = PIM_NET_INADDR_ANY; /*