diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-03-27 13:54:07 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-04-04 10:27:47 +0300 |
commit | 2ea76ff8f2ff21d85f5205279af5df9719304158 (patch) | |
tree | 6ab848a1f38e1f10a715853199a71939e565ff83 /client/commands.c | |
parent | e3558da95811df276bdcb1430e3a7adc4eac0059 (diff) | |
download | connman-2ea76ff8f2ff21d85f5205279af5df9719304158.tar.gz connman-2ea76ff8f2ff21d85f5205279af5df9719304158.tar.bz2 connman-2ea76ff8f2ff21d85f5205279af5df9719304158.zip |
client: Remove now obsolete function
Diffstat (limited to 'client/commands.c')
-rw-r--r-- | client/commands.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client/commands.c b/client/commands.c index b6b02028..eb53de59 100644 --- a/client/commands.c +++ b/client/commands.c @@ -608,7 +608,6 @@ static int cmd_config(char *args[], int num, struct option *options) int result = 0, res = 0, index = 2, oldindex = 0; int c; char *service_name, *path; - DBusMessage *message; char **opt_start; dbus_bool_t val; struct config_append append; @@ -625,10 +624,6 @@ static int cmd_config(char *args[], int num, struct option *options) res = 0; - message = get_message(connection, "GetServices"); - if (message == NULL) - return -ENOMEM; - oldindex = index; path = g_strdup_printf("/net/connman/service/%s", service_name); @@ -726,7 +721,6 @@ static int cmd_config(char *args[], int num, struct option *options) } g_free(path); - dbus_message_unref(message); if (res < 0) { if (res == -EINPROGRESS) |