Skip to content

Commit

Permalink
Apply review comments from @msandstedt
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jun 22, 2022
1 parent 8ea7610 commit 45550c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/credentials/FabricTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,6 @@ CHIP_ERROR FabricTable::Init(const FabricTable::InitParams & initParams)

void FabricTable::Forget(FabricIndex fabricIndex)
{
VerifyOrReturn(IsValidFabricIndex(fabricIndex));

ChipLogProgress(FabricProvisioning, "Forgetting fabric 0x%x", static_cast<unsigned>(fabricIndex));

auto * fabricInfo = FindFabricWithIndex(fabricIndex);
Expand Down
2 changes: 1 addition & 1 deletion src/credentials/FabricTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class DLL_EXPORT FabricInfo
CHIP_ERROR_INVALID_ARGUMENT);
VerifyOrReturnError(IsOperationalNodeId(nodeId), CHIP_ERROR_INVALID_ARGUMENT);
// We don't check the root public key validity or the compressed fabric ID, since in the
// very small usage that exists in private use, the rest shoulkd be OK.
// very small usage that exists in private use, the rest should be OK.
return CHIP_NO_ERROR;
}
};
Expand Down

0 comments on commit 45550c6

Please sign in to comment.