diff options
| author | Yang You (UU) <[email protected]> | 2025-11-20 11:47:54 -0800 |
|---|---|---|
| committer | Yang You (UU) <[email protected]> | 2025-11-20 11:47:54 -0800 |
| commit | 23999221becc1487db027737db9d3336c17f2a29 (patch) | |
| tree | f9c511fcf99efe06af3b1a3800b70e0143b4ad4c | |
| parent | dd61a12239a771573bc87117119eceb082b9762b (diff) | |
cleanup dead file
| -rw-r--r-- | network/wlan/WIFICX/drivercode/transition_steps.hpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/network/wlan/WIFICX/drivercode/transition_steps.hpp b/network/wlan/WIFICX/drivercode/transition_steps.hpp deleted file mode 100644 index dc04eab2..00000000 --- a/network/wlan/WIFICX/drivercode/transition_steps.hpp +++ /dev/null @@ -1,17 +0,0 @@ -template<typename Param, typename... StepFns> -NTSTATUS ExecuteSteps(TransitionContext& ctx, Param& p, StepFns... fns) -{ - NTSTATUS status = STATUS_SUCCESS; - auto seq = { (status = (fns(ctx, p)), status == STATUS_SUCCESS ? 0 : 1)... }; - UNREFERENCED_PARAMETER(seq); - return status; -} - -// In a traits Handle(): -static NTSTATUS Handle(TransitionContext& ctx, ParamType& params) -{ - return ExecuteSteps(ctx, params, - [](TransitionContext& c, ParamType& par){ return c.DevCtx->wifiHAL->WifiIhvSetRadioState(par, c.Header); }, - [](TransitionContext& c, ParamType&){ return STATUS_SUCCESS; } // extra step - ); -}
\ No newline at end of file |
