summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-05-13 23:41:34 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-05-13 23:44:20 +0200
commit7185d80558f7d85ddb67da0268a0f47138bf1401 (patch)
treea6ab1153e1dd678d1c76b4613136a78882ed6197 /src/network
parentcbf60d0a7fda7bd6c0578a6cc151f798a0edfd02 (diff)
networkd: remove dead initialization
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-netdev-tunnel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c
index aef2ef4fef..8af4be4974 100644
--- a/src/network/networkd-netdev-tunnel.c
+++ b/src/network/networkd-netdev-tunnel.c
@@ -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);