Skip to content

Commit

Permalink
Remove unused SessionHolder (#17882)
Browse files Browse the repository at this point in the history
  • Loading branch information
kghost authored and pull[bot] committed Jul 21, 2023
1 parent d3388ec commit 1707084
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,6 @@ CHIP_ERROR DeviceCommissioner::EstablishPASEConnection(NodeId remoteDeviceId, Re

Messaging::ExchangeContext * exchangeCtxt = nullptr;
Optional<SessionHandle> session;
SessionHolder secureSessionHolder;

VerifyOrExit(mState == State::Initialized, err = CHIP_ERROR_INCORRECT_STATE);
VerifyOrExit(mDeviceInPASEEstablishment == nullptr, err = CHIP_ERROR_INCORRECT_STATE);
Expand Down

0 comments on commit 1707084

Please sign in to comment.