1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

networkd: remove dead initialization

This commit is contained in:
Thomas Hindoe Paaboel Andersen 2015-05-13 23:41:34 +02:00
parent cbf60d0a7f
commit 7185d80558

View File

@ -399,12 +399,12 @@ static void sit_init(NetDev *n) {
}
static void vti_init(NetDev *n) {
Tunnel *t = VTI(n);
Tunnel *t;
assert(n);
if (n->kind == NETDEV_KIND_VTI)
t = VTI(n);
t = VTI(n);
else
t = VTI6(n);