Void function RemoveOTMContext should not return a value
authorsrijon.sb <srijon.sb@samsung.com>
Fri, 2 Dec 2016 04:28:51 +0000 (10:28 +0600)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 2 Dec 2016 16:48:10 +0000 (16:48 +0000)
Change-Id: I3855ed16970eb5a0cb686ffe396410c6e0934709
Signed-off-by: srijon.sb <srijon.sb@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15047
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/security/provisioning/src/otmcontextlist.c

index 719308a..6cfc96f 100644 (file)
@@ -60,8 +60,6 @@ void RemoveOTMContext(const char* addr, uint16_t port)
     }
 
     OIC_LOG(DEBUG, TAG, "OUT RemoveOTMContext");
-
-    return retCtx;
 }
 
 OCStackResult AddOTMContext(OTMContext_t* ctx, const char* addr, uint16_t port)