summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-06 18:45:08 +0000
committerOndrej Filip <feela@network.cz>2004-06-06 18:45:08 +0000
commitd5d9693ce90c190ca7358b4ac71b9d034603a3ae (patch)
tree51bab1f9755d3d6715a74a66de056006eef31d9e /proto/ospf/ospf.c
parente677d04aeb19e26da30e6a3ae94ad6e183d7af8e (diff)
Deleted unused parameters.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 302f56df..d3067e86 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;