From: 2xsec Date: Tue, 4 Sep 2018 05:24:22 +0000 (+0900) Subject: nl: remove duplicated define X-Git-Tag: lxc-3.1.0~119^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa599d1f4848639c2b15b670474f8708761d375e;p=thirdparty%2Flxc.git nl: remove duplicated define Signed-off-by: 2xsec --- diff --git a/src/lxc/nl.c b/src/lxc/nl.c index 2e97efcca..9625d1453 100644 --- a/src/lxc/nl.c +++ b/src/lxc/nl.c @@ -32,9 +32,6 @@ #include "nl.h" -#define NLMSG_TAIL(nmsg) \ - ((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len))) - extern size_t nlmsg_len(const struct nlmsg *nlmsg) { return nlmsg->nlmsghdr->nlmsg_len - NLMSG_HDRLEN;