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 16:46:54 +0000 (16:46 +0000)
commit94559bca11dc0718caed4f682d29195193fb08a4
treecad9add8ae82810f69f6e62557a2d9ab4946f68a
parentf659561f94ad648ba35de51140ff540b2a8da032
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>
(cherry picked from commit 5695ec7bbd056f50964570835929bdae428e3997)
Reviewed-on: https://gerrit.iotivity.org/gerrit/13815
resource/csdk/security/provisioning/src/ocprovisioningmanager.c