From: Stephen Hemminger Date: Thu, 1 Jun 2023 17:09:47 +0000 (-0700) Subject: libnetlink: drop unused rtnl_talk_iov X-Git-Tag: v6.4.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=957a3b16f041986965b05752c0107a9f1a8b7133;p=thirdparty%2Fiproute2.git libnetlink: drop unused rtnl_talk_iov Function was defined but not used in current iproute2 code. Signed-off-by: Stephen Hemminger --- diff --git a/include/libnetlink.h b/include/libnetlink.h index c91a22314..39ed87a79 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -177,9 +177,6 @@ int rtnl_echo_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, int json, int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, struct nlmsghdr **answer) __attribute__((warn_unused_result)); -int rtnl_talk_iov(struct rtnl_handle *rtnl, struct iovec *iovec, size_t iovlen, - struct nlmsghdr **answer) - __attribute__((warn_unused_result)); int rtnl_talk_suppress_rtnl_errmsg(struct rtnl_handle *rtnl, struct nlmsghdr *n, struct nlmsghdr **answer) __attribute__((warn_unused_result)); diff --git a/lib/libnetlink.c b/lib/libnetlink.c index 68360b0f4..7edcd2856 100644 --- a/lib/libnetlink.c +++ b/lib/libnetlink.c @@ -1168,12 +1168,6 @@ int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, return __rtnl_talk(rtnl, n, answer, true, NULL); } -int rtnl_talk_iov(struct rtnl_handle *rtnl, struct iovec *iovec, size_t iovlen, - struct nlmsghdr **answer) -{ - return __rtnl_talk_iov(rtnl, iovec, iovlen, answer, true, NULL); -} - int rtnl_talk_suppress_rtnl_errmsg(struct rtnl_handle *rtnl, struct nlmsghdr *n, struct nlmsghdr **answer) {