Fixed typo
authorsaerome.kim <saerome.kim@samsung.com>
Tue, 3 Jul 2018 01:39:18 +0000 (10:39 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Tue, 3 Jul 2018 01:44:55 +0000 (10:44 +0900)
- remove twice 'remove' prefix.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
src/mot-agent/ma-subowner.c

index 4333ce8..ccac750 100755 (executable)
@@ -1522,7 +1522,7 @@ static int _ma_remove_subowner(ma_service *service, gchar *uuid_str)
        return MA_ERROR_NONE;
 }
 
-static void _remove_remove_device_cb(void* ctx, int num,
+static void _remove_device_cb(void* ctx, int num,
        OCProvisionResult_t* arr, bool has_error)
 {
        ma_subowner_s *client = (ma_subowner_s *)ctx;
@@ -1910,7 +1910,7 @@ static void _make_devices_unpair_func(ma_req_cb_s *con)
 
        g_mutex_lock(&g_client->iotivity_mutex);
        ret = OCRemoveDeviceWithUuid((void*) g_client, CALLBACK_TIMEOUT_5S, owned_uuid,
-               _remove_remove_device_cb);
+               _remove_device_cb);
        g_mutex_unlock(&g_client->iotivity_mutex);
        if (OC_STACK_OK != ret) {
                MA_LOGD("OCRemoveDeviceWithUuid API error = %d (%s)",