From: Markus Armbruster <arm...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Eric Blake <ebl...@redhat.com> Message-id: 1431691143-1015-15-git-send-email-arm...@redhat.com Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> --- net/tap.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/net/tap.c b/net/tap.c index 362df42..c1ee4f1 100644 --- a/net/tap.c +++ b/net/tap.c @@ -597,10 +597,6 @@ static int net_tap_init(const NetdevTapOptions *tap, int *vnet_hdr, TFR(fd = tap_open(ifname, ifname_sz, vnet_hdr, vnet_hdr_required, mq_required, errp)); if (fd < 0) { - /* FIXME drop when all tap_open() store an Error */ - if (errp && !*errp) { - error_setg(errp, "can't open tap device"); - } return -1; } -- 2.4.1