Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lib mtype cleanup #15523

Merged
merged 5 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/affinitymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
#include "jhash.h"

DEFINE_MTYPE_STATIC(LIB, AFFINITY_MAP, "Affinity map");
DEFINE_MTYPE(LIB, AFFINITY_MAP_NAME, "Affinity map name");
DEFINE_MTYPE_STATIC(LIB, AFFINITY_MAP_INDEX, "Affinity map index");

DEFINE_QOBJ_TYPE(affinity_maps);
DEFINE_QOBJ_TYPE(affinity_map);
Expand Down
1 change: 0 additions & 1 deletion lib/mgmt_msg_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "mgmt_msg_native.h"

DEFINE_MGROUP(MSG_NATIVE, "Native message allocations");
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_MSG, "native mgmt msg");
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_ERROR, "native error msg");
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_GET_TREE, "native get tree msg");
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_TREE_DATA, "native tree data msg");
Expand Down
5 changes: 0 additions & 5 deletions lib/netns_other.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
#include "log.h"
#include "memory.h"

DEFINE_MTYPE_STATIC(LIB, NS, "NetNS Context");
DEFINE_MTYPE_STATIC(LIB, NS_NAME, "NetNS Name");


static inline int ns_compare(const struct ns *ns, const struct ns *ns2);

RB_GENERATE(ns_head, ns, entry, ns_compare)
Expand All @@ -39,7 +35,6 @@ void ns_init_management(ns_id_t ns_id)
{
}


/*
* NS utilities
*/
Expand Down
2 changes: 0 additions & 2 deletions lib/northbound_sysrepo.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <sysrepo/values.h>
#include <sysrepo/xpath.h>

DEFINE_MTYPE_STATIC(LIB, SYSREPO, "Sysrepo module");

static struct debug nb_dbg_client_sysrepo = {0, "Northbound client: Sysrepo"};

static struct event_loop *master;
Expand Down
1 change: 1 addition & 0 deletions zebra/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ static void sigint(void)
rib_update_finish();

list_delete(&zrouter.client_list);
list_delete(&zrouter.stale_client_list);

/* Indicate that all new dplane work has been enqueued. When that
* work is complete, the dataplane will enqueue an event
Expand Down
Loading