summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-05-31 17:43:48 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-05-31 17:50:43 +0200
commit26a90cbb52c4b8ac4d82cc2f58045209da5a0ed8 (patch)
tree3b1dc66cf6a007f3bc2c37c950a24268301d9d61
parentbfb57ac0a944228965d879465f837b38ac8ede62 (diff)
downloadconnman-26a90cbb52c4b8ac4d82cc2f58045209da5a0ed8.tar.gz
connman-26a90cbb52c4b8ac4d82cc2f58045209da5a0ed8.tar.bz2
connman-26a90cbb52c4b8ac4d82cc2f58045209da5a0ed8.zip
element: Remove service code
-rw-r--r--include/element.h1
-rw-r--r--src/element.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/element.h b/include/element.h
index 47011aed..b168b78a 100644
--- a/include/element.h
+++ b/include/element.h
@@ -44,7 +44,6 @@ enum connman_element_type {
CONNMAN_ELEMENT_TYPE_ROOT = 1,
CONNMAN_ELEMENT_TYPE_DEVICE = 3,
CONNMAN_ELEMENT_TYPE_NETWORK = 4,
- CONNMAN_ELEMENT_TYPE_SERVICE = 5,
};
enum connman_element_state {
diff --git a/src/element.c b/src/element.c
index 26c8a6e9..fe5226b0 100644
--- a/src/element.c
+++ b/src/element.c
@@ -52,8 +52,6 @@ static const char *type2string(enum connman_element_type type)
return "device";
case CONNMAN_ELEMENT_TYPE_NETWORK:
return "network";
- case CONNMAN_ELEMENT_TYPE_SERVICE:
- return "service";
}
return NULL;