Skip to content

Commit

Permalink
Remove WIP code
Browse files Browse the repository at this point in the history
  • Loading branch information
mlepage-google committed Dec 15, 2022
1 parent acafb52 commit 3a80c45
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/include/platform/CHIPDeviceEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -379,7 +368,6 @@ struct ChipDeviceEvent final
{
intptr_t Arg;
AsyncWorkFunct WorkFunct;
AsyncCleanupFunct CleanupFunct;
} CallWorkFunct;
struct
{
Expand Down

0 comments on commit 3a80c45

Please sign in to comment.