projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ba6c4d
)
network: Remove unused set type element
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Thu, 16 Jun 2011 07:57:35 +0000
(09:57 +0200)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Thu, 16 Jun 2011 13:26:11 +0000
(15:26 +0200)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
4cd77c8
..
c212f03
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-195,7
+195,6
@@
struct connman_network *connman_network_create(const char *identifier,
{
struct connman_network *network;
connman_uint8_t strength = 0;
{
struct connman_network *network;
connman_uint8_t strength = 0;
- const char *str;
char *temp;
DBG("identifier %s type %d", identifier, type);
char *temp;
DBG("identifier %s type %d", identifier, type);
@@
-225,10
+224,6
@@
struct connman_network *connman_network_create(const char *identifier,
network->element.network = network;
network->element.destruct = network_destruct;
network->element.network = network;
network->element.destruct = network_destruct;
- str = type2string(type);
- if (str != NULL)
- connman_element_set_string(&network->element, "Type", str);
-
connman_element_set_uint8(&network->element, "Strength", strength);
network->type = type;
connman_element_set_uint8(&network->element, "Strength", strength);
network->type = type;