Update to improve the performance of the OCRemoveDeviceWithUuid API.
authorChul Lee <chuls.lee@samsung.com>
Wed, 26 Oct 2016 10:31:56 +0000 (19:31 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 28 Oct 2016 07:48:17 +0000 (07:48 +0000)
commit5695ec7bbd056f50964570835929bdae428e3997
tree0884ede989537ad26278ec65180864ed06c11254
parent3a92e3476f2009b646d4fc02818e456c74a0e757
Update to improve the performance of the OCRemoveDeviceWithUuid API.

If linked device not exist when remove the device,
Device discovery is not required.
So I've modify the OCRemoveDeviceWithUuid API
to skip the device discovery in case of linked device not exist.

Change-Id: I004266860f99e9fa22b837a37296fc81743a8cab
Signed-off-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13713
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/provisioning/src/ocprovisioningmanager.c