]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
libnetlink: drop unused rtnl_talk_iov
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Jun 2023 17:09:47 +0000 (10:09 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 2 Jun 2023 16:33:34 +0000 (09:33 -0700)
Function was defined but not used in current iproute2 code.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/libnetlink.h
lib/libnetlink.c

index c91a22314548bd6d96981261df56ba7ae3274ea9..39ed87a7976e477b4a5bbae4ae54b4f7f58c2e11 100644 (file)
@@ -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));
index 68360b0f4c965af6994249d60f52b60fceb48dc0..7edcd28569fd1b49a8a592ec1c9bb740391d6d59 100644 (file)
@@ -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)
 {