diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-netdev-tuntap.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/network/networkd-netdev-tuntap.c b/src/network/networkd-netdev-tuntap.c index 57cc77c555..4f449aea48 100644 --- a/src/network/networkd-netdev-tuntap.c +++ b/src/network/networkd-netdev-tuntap.c @@ -171,17 +171,8 @@ static void tuntap_done(NetDev *netdev) { } static int tuntap_verify(NetDev *netdev, const char *filename) { - TunTap *t = NULL; - assert(netdev); - if (netdev->kind == NETDEV_KIND_TUN) - t = TUN(netdev); - else - t = TAP(netdev); - - assert(t); - if (netdev->mtu) { log_warning_netdev(netdev, "MTU configured for %s, ignoring", netdev_kind_to_string(netdev->kind)); |