From 1100182f0c4cbfc9cf6eb41f3369f3a31ccd9ab6 Mon Sep 17 00:00:00 2001 From: Tennessee Carmel-Veilleux Date: Mon, 4 Apr 2022 23:17:54 -0400 Subject: [PATCH] Remove unused `FindDestinationIDCandidate` API (#17020) - `FabricTable::FindDestinationIDCandidate` is declared, but used nowhere since the IPK refactor of #16737, and not implemented either. It is 100% dead code. - Remove stale `FindDestinationIDCandidate` API --- src/credentials/FabricTable.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/credentials/FabricTable.h b/src/credentials/FabricTable.h index bae1e864bb5bfc..0c375311f28f53 100644 --- a/src/credentials/FabricTable.h +++ b/src/credentials/FabricTable.h @@ -392,9 +392,6 @@ class DLL_EXPORT FabricTable FabricInfo * FindFabricWithIndex(FabricIndex fabricIndex); FabricInfo * FindFabricWithCompressedId(CompressedFabricId fabricId); - FabricIndex FindDestinationIDCandidate(const ByteSpan & destinationId, const ByteSpan & initiatorRandom, - const ByteSpan * ipkList, size_t ipkListEntries); - CHIP_ERROR Init(PersistentStorageDelegate * storage); CHIP_ERROR AddFabricDelegate(FabricTableDelegate * delegate);