diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-23 15:37:06 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-24 15:14:43 +0200 |
commit | 2414abd3b0adbb48855135b14e5cdbf21b3cc308 (patch) | |
tree | e4781439b90d299753c1ac72c6df469f8075292c /zebra/if_netlink.h | |
parent | zebra: Move where we check for non-kernel netlink messages (diff) | |
download | frr-2414abd3b0adbb48855135b14e5cdbf21b3cc308.tar.xz frr-2414abd3b0adbb48855135b14e5cdbf21b3cc308.zip |
zebra: Remove unnecessary function parameter
The snl variable is no longer needed to be passed around, so
remove it from the calling path.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/if_netlink.h')
-rw-r--r-- | zebra/if_netlink.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/zebra/if_netlink.h b/zebra/if_netlink.h index 769c68a87..65a266a51 100644 --- a/zebra/if_netlink.h +++ b/zebra/if_netlink.h @@ -23,10 +23,9 @@ #ifdef HAVE_NETLINK -extern int netlink_interface_addr(struct sockaddr_nl *snl, struct nlmsghdr *h, - ns_id_t ns_id, int startup); -extern int netlink_link_change(struct sockaddr_nl *snl, struct nlmsghdr *h, - ns_id_t ns_id, int startup); +extern int netlink_interface_addr(struct nlmsghdr *h, ns_id_t ns_id, + int startup); +extern int netlink_link_change(struct nlmsghdr *h, ns_id_t ns_id, int startup); extern int interface_lookup_netlink(struct zebra_ns *zns); #endif /* HAVE_NETLINK */ |