Remove unused code 07/60207/1
authoryoungman <yman.jung@samsung.com>
Wed, 24 Feb 2016 06:42:00 +0000 (15:42 +0900)
committeryoungman <yman.jung@samsung.com>
Wed, 24 Feb 2016 06:43:32 +0000 (15:43 +0900)
Change-Id: I7ece0ca88aea213216dcdcdab9e146b000da002d
Signed-off-by: youngman <yman.jung@samsung.com>
lib/icl-dbus-type.c
lib/icl-dbus-type.h
lib/icl-resource-interfaces.c
lib/icl-resource-interfaces.h
lib/icl-resource-types.c
lib/icl-resource-types.h

index 30de3942958a1b945d1d555ea0b8be88033f6668..0bc89a6d8c0b06a6bc9e6e032956711ef2f49f37 100644 (file)
@@ -168,37 +168,6 @@ GVariant* icl_dbus_remote_resource_to_gvariant(struct icl_remote_resource *resou
 }
 
 
-GVariant* icl_dbus_device_info_to_gvariant(iotcon_device_info_h device_info)
-{
-       GVariant *value;
-
-       value = g_variant_new("(s)", device_info->device_name);
-
-       return value;
-}
-
-
-GVariant* icl_dbus_platform_info_to_gvariant(iotcon_platform_info_h platform_info)
-{
-       GVariant *value;
-
-       value = g_variant_new("(sssssssssss)",
-                       platform_info->platform_id,
-                       platform_info->manuf_name,
-                       platform_info->manuf_url,
-                       platform_info->model_number,
-                       platform_info->date_of_manuf,
-                       platform_info->platform_ver,
-                       platform_info->os_ver,
-                       platform_info->hardware_ver,
-                       platform_info->firmware_ver,
-                       platform_info->support_url,
-                       platform_info->system_time);
-
-       return value;
-}
-
-
 GVariant* icl_dbus_query_to_gvariant(iotcon_query_h query)
 {
        FN_CALL;
index 188367acc9fccc48329a50ac48018aaf93ead827..7aefcc9ad3067bec319b630deb49a4a5b0b2f1b4 100644 (file)
@@ -26,8 +26,6 @@ const char** icl_dbus_resource_types_to_array(iotcon_resource_types_h types);
 GVariant* icl_dbus_representation_to_gvariant(struct icl_representation_s *repr);
 GVariant* icl_dbus_response_to_gvariant(struct icl_resource_response *response);
 GVariant* icl_dbus_remote_resource_to_gvariant(struct icl_remote_resource *resource);
-GVariant* icl_dbus_device_info_to_gvariant(struct icl_device_info *device_info);
-GVariant* icl_dbus_platform_info_to_gvariant(struct icl_platform_info *platform_info);
 GVariant* icl_dbus_query_to_gvariant(iotcon_query_h query);
 GVariant* icl_dbus_options_to_gvariant(iotcon_options_h options);
 GVariant* icl_dbus_observers_to_gvariant(iotcon_observers_h observers);
index 1b2c262662c040bf23ed2db353facc5e649adfd8..59b212dbb03977fdad91ec1b22c7a0daa0f92dba 100644 (file)
@@ -197,16 +197,3 @@ API int iotcon_resource_interfaces_clone(iotcon_resource_interfaces_h src,
        return IOTCON_ERROR_NONE;
 }
 
-
-/* counting from 0 */
-const char* icl_resource_interfaces_get_nth_data(iotcon_resource_interfaces_h ifaces,
-               int index)
-{
-       return g_list_nth_data(ifaces->iface_list, index);
-}
-
-
-unsigned int icl_resource_interfaces_get_length(iotcon_resource_interfaces_h ifaces)
-{
-       return g_list_length(ifaces->iface_list);
-}
index 251ddba82db5439ac170a2d3d394f2a04b83523a..6c54f836341215d04f6e75d7771fad6bff14cfa4 100644 (file)
@@ -26,8 +26,5 @@ struct icl_resource_ifaces {
 
 iotcon_resource_interfaces_h icl_resource_interfaces_ref(
                iotcon_resource_interfaces_h res_ifaces);
-const char* icl_resource_interfaces_get_nth_data(iotcon_resource_interfaces_h res_ifaces,
-               int index);
-unsigned int icl_resource_interfaces_get_length(iotcon_resource_interfaces_h res_ifaces);
 
 #endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_INTERFACES_H__ */
index c2887822ccbc4db7d0bd3b342560b4490b9a3f37..39ab97dcf7f578162633b6fbed2a12e3ca45cf75 100644 (file)
@@ -201,15 +201,3 @@ API int iotcon_resource_types_clone(iotcon_resource_types_h src,
        return IOTCON_ERROR_NONE;
 }
 
-
-/* counting from 0 */
-const char* icl_resource_types_get_nth_data(iotcon_resource_types_h types, int index)
-{
-       return g_list_nth_data(types->type_list, index);
-}
-
-
-unsigned int icl_resource_types_get_length(iotcon_resource_types_h types)
-{
-       return g_list_length(types->type_list);
-}
index c493a2465e53096a804b4aabaa484c7d08b53633..586e51d17068f4dd506ea57c6206528f39214a12 100644 (file)
@@ -34,7 +34,5 @@ struct icl_resource_types {
 };
 
 iotcon_resource_types_h icl_resource_types_ref(iotcon_resource_types_h res_types);
-const char* icl_resource_types_get_nth_data(iotcon_resource_types_h res_types, int index);
-unsigned int icl_resource_types_get_length(iotcon_resource_types_h res_types);
 
 #endif /* __IOT_CONNECTIVITY_MANAGER_LIBRARY_RESOURCE_TYPES_H__ */