From d5d9693ce90c190ca7358b4ac71b9d034603a3ae Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 6 Jun 2004 18:45:08 +0000 Subject: Deleted unused parameters. --- proto/ospf/ospf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'proto/ospf/ospf.c') diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 302f56d..d3067e8 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -114,7 +114,7 @@ ospf_start(struct proto *p) oa->stub = ac->stub; oa->tick = ac->tick; oa->areaid = ac->areaid; - oa->gr = ospf_top_new(po->proto.pool, po); + oa->gr = ospf_top_new(p->pool); s_init_list(&(oa->lsal)); oa->rt = NULL; oa->po = po; @@ -175,8 +175,6 @@ static struct proto * ospf_init(struct proto_config *c) { struct proto *p = proto_new(c, sizeof(struct proto_ospf)); - struct proto_ospf *po = (struct proto_ospf *) p; - struct ospf_config *oc = (struct ospf_config *) c; p->import_control = ospf_import_control; p->make_tmp_attrs = ospf_make_tmp_attrs; -- cgit v1.2.3