summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-12-03 23:50:38 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-12-03 23:51:56 +0100
commit6c03d27d9f7e831194dbd8bd6bcdeef9273edb6e (patch)
tree0462a4ae3adae4c2c0a290e2843bdba6097503b7 /src/network
parente706d931e0f5741d57c6f3752b4e3520f90f47d5 (diff)
networkctl: remove unused variable
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index a763630061..3e304b261f 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -529,8 +529,7 @@ static void dump_list(const char *prefix, char **l) {
static int link_status_one(sd_rtnl *rtnl, struct udev *udev, const char *name) {
_cleanup_strv_free_ char **dns = NULL, **ntp = NULL, **domains = NULL;
- _cleanup_free_ char *setup_state = NULL, *operational_state = NULL, *gateway = NULL, *gateway_description = NULL,
- *gateway6 = NULL, *gateway6_description = NULL;
+ _cleanup_free_ char *setup_state = NULL, *operational_state = NULL;
_cleanup_rtnl_message_unref_ sd_rtnl_message *req = NULL, *reply = NULL;
_cleanup_udev_device_unref_ struct udev_device *d = NULL;
_cleanup_udev_hwdb_unref_ struct udev_hwdb *hwdb = NULL;