summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ripd/ripd.c6
-rw-r--r--ripd/ripd.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 9c6681a56e..c0474ea93f 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -47,8 +47,6 @@
#include "ripd/rip_debug.h"
#include "ripd/rip_errors.h"
-DEFINE_QOBJ_TYPE(rip)
-
/* UDP receive buffer size */
#define RIP_UDP_RCV_BUF 41600
@@ -2700,8 +2698,6 @@ int rip_create(int socket)
rip_event(RIP_READ, rip->sock);
rip_event(RIP_UPDATE_EVENT, 1);
- QOBJ_REG(rip, rip);
-
return 0;
}
@@ -3318,8 +3314,6 @@ void rip_clean(void)
struct listnode *listnode = NULL;
if (rip) {
- QOBJ_UNREG(rip);
-
/* Clear RIP routes */
for (rp = route_top(rip->table); rp; rp = route_next(rp))
if ((list = rp->info) != NULL) {
diff --git a/ripd/ripd.h b/ripd/ripd.h
index c8bc68c09f..e355e1e61b 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -21,7 +21,6 @@
#ifndef _ZEBRA_RIP_H
#define _ZEBRA_RIP_H
-#include "qobj.h"
#include "hook.h"
#include "nexthop.h"
#include "rip_memory.h"
@@ -151,10 +150,7 @@ struct rip {
bool metric_config;
uint8_t metric;
} route_map[ZEBRA_ROUTE_MAX];
-
- QOBJ_FIELDS
};
-DECLARE_QOBJ_TYPE(rip)
/* RIP routing table entry which belong to rip_packet. */
struct rte {