pimd: All paths have already derefed pim->global_scope.bsrp_table

All paths leading to this point in the code have already deref'ed
the pim->global_scope.bsrp_table.  No point in testing for
validness now.  This was caught by Coverity.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2019-10-25 07:05:11 -04:00
parent adc62ec8b7
commit 4d19a911c5

View File

@ -290,8 +290,7 @@ void pim_bsm_proc_free(struct pim_instance *pim)
pim_free_bsgrp_data(bsgrp);
}
if (pim->global_scope.bsrp_table)
route_table_finish(pim->global_scope.bsrp_table);
route_table_finish(pim->global_scope.bsrp_table);
}
static bool is_hold_time_elapsed(void *data)