destroy_northd_tracked_data() is always executed after destroy_northd_data_tracked_changes() so we can get rid of destroy_tracked_deleted_dps() call in destroy_northd_tracked_data().
Signed-off-by: Lorenzo Bianconi <lorenzo.bianc...@redhat.com> --- northd/northd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/northd/northd.c b/northd/northd.c index eb5551d6a..05f398abe 100644 --- a/northd/northd.c +++ b/northd/northd.c @@ -4079,7 +4079,6 @@ destroy_northd_tracked_data(struct northd_data *nd) trk_data->type = NORTHD_TRACKED_NONE; hmapx_destroy(&trk_data->trk_switches.crupdated); hmapx_destroy(&trk_data->trk_lsps.created); - destroy_tracked_deleted_dps(&trk_data->trk_switches); hmapx_destroy(&trk_data->trk_switches.deleted); hmapx_destroy(&trk_data->trk_lsps.updated); hmapx_destroy(&trk_data->trk_lsps.deleted); -- 2.51.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev