Loading net/tap.c +0 −4 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
net/tap.c +0 −4 Original line number Diff line number Diff line Loading @@ -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; } Loading