summaryrefslogtreecommitdiff
path: root/plugins/openconnect.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2010-12-17 13:02:20 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-17 16:48:35 +0100
commitc12fce7f10b2992f1919d6ae240402c933e73f79 (patch)
treecdf2d8219fdbd65a7359aeaae89b29bcf24b2715 /plugins/openconnect.c
parent6f816e4777a1a53f8ce755fdd6a206fa33c969fb (diff)
downloadconnman-c12fce7f10b2992f1919d6ae240402c933e73f79.tar.gz
connman-c12fce7f10b2992f1919d6ae240402c933e73f79.tar.bz2
connman-c12fce7f10b2992f1919d6ae240402c933e73f79.zip
openconnect: Remove unused code
Diffstat (limited to 'plugins/openconnect.c')
-rw-r--r--plugins/openconnect.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/openconnect.c b/plugins/openconnect.c
index 9861b51b..6181046a 100644
--- a/plugins/openconnect.c
+++ b/plugins/openconnect.c
@@ -38,7 +38,6 @@
static int oc_notify(DBusMessage *msg, struct connman_provider *provider)
{
DBusMessageIter iter, dict;
- struct oc_data *data;
const char *reason, *key, *value;
const char *domain = NULL;
@@ -52,12 +51,6 @@ static int oc_notify(DBusMessage *msg, struct connman_provider *provider)
return VPN_STATE_FAILURE;
}
- data = connman_provider_get_data(provider);
- if (!data) {
- DBG("provider %p no data", provider);
- return VPN_STATE_FAILURE;
- }
-
if (strcmp(reason, "connect"))
return VPN_STATE_DISCONNECT;