projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f816e4
)
openconnect: Remove unused code
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Fri, 17 Dec 2010 12:02:20 +0000
(13:02 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 17 Dec 2010 15:48:35 +0000
(16:48 +0100)
plugins/openconnect.c
patch
|
blob
|
history
diff --git
a/plugins/openconnect.c
b/plugins/openconnect.c
index
9861b51
..
6181046
100644
(file)
--- 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;