summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-01 16:27:41 +0100
committerTom Gundersen <teg@jklm.no>2014-02-01 16:51:35 +0100
commit172f6635d164b9c59290fae253bc0698c0627afa (patch)
treec780c202d32222f98271ce182262f626e91928ed /src/network
parent71acb5e7dc58661e471ca11e0d5707b400c2d12c (diff)
networkd: remove unused variable
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index c48c96a517..0df583a15c 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -140,7 +140,7 @@ static int netdev_enter_ready(Netdev *netdev) {
static int netdev_create_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
Netdev *netdev = userdata;
- int r, ifindex;
+ int r;
assert(netdev->state != _NETDEV_STATE_INVALID);