]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: remove dead initialization
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 13 May 2015 21:41:34 +0000 (23:41 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 13 May 2015 21:44:20 +0000 (23:44 +0200)
src/network/networkd-netdev-tunnel.c

index aef2ef4fefc0f9899f8fed2fb94df6a036a1e818..8af4be497424f6c16e6727526770b3420ef2c9f7 100644 (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);