From 23999221becc1487db027737db9d3336c17f2a29 Mon Sep 17 00:00:00 2001 From: "Yang You (UU)" Date: Thu, 20 Nov 2025 11:47:54 -0800 Subject: cleanup dead file --- network/wlan/WIFICX/drivercode/transition_steps.hpp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 network/wlan/WIFICX/drivercode/transition_steps.hpp 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 -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 -- cgit v1.3.1