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:
parent
cbf60d0a7f
commit
7185d80558
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user