Remove unnecessary data type in PM
authorWoochul Shim <woochul.shim@samsung.com>
Fri, 11 Sep 2015 10:20:13 +0000 (19:20 +0900)
committerSachin Agrawal <sachin.agrawal@intel.com>
Sun, 13 Sep 2015 18:47:33 +0000 (18:47 +0000)
- OTMStates is not used/required in current version.

Change-Id: I74d88ab1ea38f41afb4523b302d15df2201f3e29
Signed-off-by: Woochul Shim <woochul.shim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2471
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/security/provisioning/src/ownershiptransfermanager.c

index 1c88e95a8632b87aa05c6a30dbcfe63a633bfcc6..764172c51b2e393137973a8668c0c9249d56a848 100644 (file)
 
 #define TAG "OTM"
 
-/**
- * Possible states of ownership transfer manager module.
- */
-typedef enum
-{
-    SP_NO_MASK                = (0       ),
-    SP_DISCOVERY_STARTED      = (0x1 << 1),
-    SP_DISCOVERY_ERROR        = (0x1 << 2),
-    SP_DISCOVERY_DONE         = (0x1 << 3),
-    SP_UP_OWN_TR_METH_STARTED = (0x1 << 4),
-    SP_UP_OWN_TR_METH_ERROR   = (0x1 << 5),
-    SP_UP_OWN_TR_METH_DONE    = (0x1 << 6),
-    SP_LIST_METHODS_STARTED   = (0x1 << 7),
-    SP_LIST_METHODS_ERROR     = (0x1 << 8),
-    SP_LIST_METHODS_DONE      = (0x1 << 9),
-    SP_UPDATE_OP_MODE_STARTED = (0x1 << 10),
-    SP_UPDATE_OP_MODE_ERROR   = (0x1 << 11),
-    SP_UPDATE_OP_MODE_DONE    = (0x1 << 12),
-    SP_UPDATE_OWNER_STARTED   = (0x1 << 13),
-    SP_UPDATE_OWNER_ERROR     = (0x1 << 14),
-    SP_UPDATE_OWNER_DONE      = (0x1 << 15)
-} OTMStates;
-
-
-
 /**
  * Array to store the callbacks for each owner transfer method.
  */