Skip to content

Commit

Permalink
Remove unused function (#16472)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille authored Mar 19, 2022
1 parent 8234e43 commit a3390fd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1573,13 +1573,6 @@ void DeviceCommissioner::OnDeviceConnectionFailureFn(void * context, PeerId peer
}
}

void DeviceCommissioner::SetupCluster(ClusterBase & base, DeviceProxy * proxy, EndpointId endpoint,
Optional<System::Clock::Timeout> timeout)
{
base.Associate(proxy, endpoint);
base.SetCommandTimeout(timeout);
}

// AttributeCache::Callback impl
void DeviceCommissioner::OnDone()
{
Expand Down
2 changes: 0 additions & 2 deletions src/controller/CHIPDeviceController.h
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,6 @@ class DLL_EXPORT DeviceCommissioner : public DeviceController,
uint16_t mUdcListenPort = CHIP_UDC_PORT;
#endif // CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY

void SetupCluster(ClusterBase & base, DeviceProxy * proxy, EndpointId endpoint, Optional<System::Clock::Timeout> timeout);

CHIP_ERROR LoadKeyId(PersistentStorageDelegate * delegate, uint16_t & out);

void OnSessionEstablishmentTimeout();
Expand Down

0 comments on commit a3390fd

Please sign in to comment.