Remove not used function.
authorjaesick.shin <jaesick.shin@samsung.com>
Wed, 17 Aug 2016 07:35:05 +0000 (16:35 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 18 Aug 2016 02:25:42 +0000 (02:25 +0000)
not required that function.

Change-Id: Iabca8bbe212139c1e7e90a3cc2b0ddac53ec955c
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10537
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/provider/NSProviderTopic.c

index dc25a0a3db3f03a6ae56a2660c86e2897764e37b..ddae169342e142dba99cae4158f813f52d254d7f 100644 (file)
@@ -72,36 +72,6 @@ NSResult NSDeleteTopics(const char * topicName)
     return NS_OK;\r
 }\r
 \r
-NSResult NSSubscribeTopicList(char *consumerId, NSTopicList *topicList)\r
-{\r
-    NS_LOG(DEBUG, "NSSubscribeTopicList()");\r
-\r
-    if(!topicList)\r
-    {\r
-        NS_LOG(ERROR, "no topics");\r
-        return NS_ERROR;\r
-    }\r
-\r
-    if(!consumerId)\r
-    {\r
-        NS_LOG(ERROR, "invalid consumer id");\r
-        return NS_ERROR;\r
-    }\r
-\r
-    OCResourceHandle rHandle = NULL;\r
-    if(NSPutTopicResource(topicList, &rHandle) != NS_OK)\r
-    {\r
-        NS_LOG(ERROR, "Fail to put topic resource");\r
-        return NS_ERROR;\r
-    }\r
-\r
-    //TODO it will change logic.\r
-    //NSStoreTopics(consumerId, topicList->head);\r
-\r
-    NS_LOG(DEBUG, "NSSubscribeTopicList() NS_OK");\r
-    return NS_OK;\r
-}\r
-\r
 NSResult NSSendTopicUpdation()\r
 {\r
     NS_LOG(DEBUG, "NSSendTopicUpdation - IN");\r