diff --git a/src/include/platform/CHIPDeviceEvent.h b/src/include/platform/CHIPDeviceEvent.h index 31d7f37aa01f06..21989e68ea13cb 100644 --- a/src/include/platform/CHIPDeviceEvent.h +++ b/src/include/platform/CHIPDeviceEvent.h @@ -317,22 +317,11 @@ enum OtaState kOtaApplyFailed, }; -enum class CleanupStatus -{ - kCompleted, - kCancelled -}; - /** * A pointer to a function that performs work asynchronously. */ typedef void (*AsyncWorkFunct)(intptr_t arg); -/** - * A pointer to a function that performs cleanup asynchronously. - */ -typedef void (*AsyncCleanupFunct)(intptr_t arg, CleanupStatus status); - inline ConnectivityChange GetConnectivityChange(bool prevState, bool newState) { if (prevState == newState) @@ -379,7 +368,6 @@ struct ChipDeviceEvent final { intptr_t Arg; AsyncWorkFunct WorkFunct; - AsyncCleanupFunct CleanupFunct; } CallWorkFunct; struct {