summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-03 13:49:20 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-03 13:53:00 -0400
commit5ab1cef0db17c5da97bf166c97265b30f2728cde (patch)
tree3290ad7268051700465dd04538ded9a7ee1eca0d /src/libsystemd
parentc29f959b4445dbbecc54c04d9a2a2f68da8bc262 (diff)
parentef3b2aa7a16cae897390feda791675c9fb2e8116 (diff)
Merge pull request #3111 from poettering/nspawn-remove-veth
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-netlink/rtnl-message.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsystemd/sd-netlink/rtnl-message.c b/src/libsystemd/sd-netlink/rtnl-message.c
index 255526bf32..f251536a89 100644
--- a/src/libsystemd/sd-netlink/rtnl-message.c
+++ b/src/libsystemd/sd-netlink/rtnl-message.c
@@ -402,7 +402,6 @@ int sd_rtnl_message_new_link(sd_netlink *rtnl, sd_netlink_message **ret,
int r;
assert_return(rtnl_message_type_is_link(nlmsg_type), -EINVAL);
- assert_return(nlmsg_type != RTM_DELLINK || index > 0, -EINVAL);
assert_return(ret, -EINVAL);
r = message_new(rtnl, ret, nlmsg_type);