diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-12-02 16:49:59 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-12-02 16:49:59 +0000 |
commit | 76d5742a5f3b666bb5c4de6a62be8c9ccfbb6f5e (patch) | |
tree | ff20172a4cec40f10d371a3521a110e50f20e6f8 /sys/net/rtable.c | |
parent | a4976ec7da132c15d6a1a973e7ea553a67ce62f1 (diff) |
rtable_delete() does not use its prio parameter, so delete it.
OK mpi@
Diffstat (limited to 'sys/net/rtable.c')
-rw-r--r-- | sys/net/rtable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/rtable.c b/sys/net/rtable.c index 4219f44b0d3..f553a803298 100644 --- a/sys/net/rtable.c +++ b/sys/net/rtable.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtable.c,v 1.30 2015/12/02 11:09:01 mpi Exp $ */ +/* $OpenBSD: rtable.c,v 1.31 2015/12/02 16:49:58 bluhm Exp $ */ /* * Copyright (c) 2014-2015 Martin Pieuchot @@ -402,7 +402,7 @@ rtable_insert(unsigned int rtableid, struct sockaddr *dst, int rtable_delete(unsigned int rtableid, struct sockaddr *dst, - struct sockaddr *mask, uint8_t prio, struct rtentry *rt) + struct sockaddr *mask, struct rtentry *rt) { struct radix_node_head *rnh; struct radix_node *rn = (struct radix_node *)rt; @@ -745,7 +745,7 @@ rtable_insert(unsigned int rtableid, struct sockaddr *dst, int rtable_delete(unsigned int rtableid, struct sockaddr *dst, - struct sockaddr *mask, uint8_t prio, struct rtentry *rt) + struct sockaddr *mask, struct rtentry *rt) { struct art_root *ar; struct art_node *an = rt->rt_node; |