[systemd-commits] src/network
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Wed May 13 14:44:30 PDT 2015
src/network/networkd-netdev-tunnel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7185d80558f7d85ddb67da0268a0f47138bf1401
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed May 13 23:41:34 2015 +0200
networkd: remove dead initialization
diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c
index aef2ef4..8af4be4 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);
More information about the systemd-commits
mailing list