From: Daniel Wagner Date: Tue, 31 May 2011 15:43:48 +0000 (+0200) Subject: element: Remove service code X-Git-Tag: 0.74~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26a90cbb52c4b8ac4d82cc2f58045209da5a0ed8;p=platform%2Fupstream%2Fconnman.git element: Remove service code --- diff --git a/include/element.h b/include/element.h index 47011ae..b168b78 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 26c8a6e..fe5226b 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;