From f0b458e1054c632b085abfa8f59285c1ca8ba746 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Mon, 24 Oct 2016 16:55:27 -0600 Subject: [PATCH] c/r: drop duplicate hunk from macvlan case Signed-off-by: Tycho Andersen --- src/lxc/criu.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lxc/criu.c b/src/lxc/criu.c index c998fe42c..16d439a89 100644 --- a/src/lxc/criu.c +++ b/src/lxc/criu.c @@ -458,13 +458,6 @@ static void exec_criu(struct criu_opts *opts) goto err; break; case LXC_NET_MACVLAN: - if (n->name) { - if (strlen(n->name) >= sizeof(eth)) - goto err; - strncpy(eth, n->name, sizeof(eth)); - } else - sprintf(eth, "eth%d", netnr); - if (!n->link) { ERROR("no host interface for macvlan %s\n", n->name); goto err;