From cc93c15b4d9aa2a91c3fc3e93e48bc35fe4fe872 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Mon, 1 Aug 2022 20:33:10 +0200 Subject: [PATCH] Remove not used OnDiscoveryExpiration callback (#21486) It seems that this is a leftover from #20007. --- src/app/server/Dnssd.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/app/server/Dnssd.h b/src/app/server/Dnssd.h index 394c928e9c3943..883f90eebf6747 100644 --- a/src/app/server/Dnssd.h +++ b/src/app/server/Dnssd.h @@ -73,13 +73,6 @@ class DLL_EXPORT DnssdServer // assume the commissioning mode is kDisabled. void SetCommissioningModeProvider(CommissioningModeProvider * provider) { mCommissioningModeProvider = provider; } - /// Callback from Discovery Expiration timer - /// Checks if discovery has expired and if so, - /// kicks off extend discovery (when enabled) - /// otherwise, stops commissionable node advertising - /// Discovery Expiration refers here to commissionable node advertising when in commissioning mode - void OnDiscoveryExpiration(System::Layer * aSystemLayer, void * aAppState); - #if CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY /// Sets the extended discovery timeout. Value will be persisted across reboots void SetExtendedDiscoveryTimeoutSecs(int32_t secs);