From 10676682c2e9521d641bab35b120c0991c8dd6d9 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Thu, 6 Apr 2023 21:23:40 +0200 Subject: [PATCH] Remove unused IsController in src/protocols/secure_channel/RendezvousParameters.h (#25999) --- src/protocols/secure_channel/RendezvousParameters.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/protocols/secure_channel/RendezvousParameters.h b/src/protocols/secure_channel/RendezvousParameters.h index ad0721e232d864..e563166f8acff0 100644 --- a/src/protocols/secure_channel/RendezvousParameters.h +++ b/src/protocols/secure_channel/RendezvousParameters.h @@ -40,8 +40,6 @@ class RendezvousParameters public: RendezvousParameters() = default; - bool IsController() const { return HasDiscriminator() || HasConnectionObject(); } - bool HasSetupPINCode() const { return mSetupPINCode != 0; } uint32_t GetSetupPINCode() const { return mSetupPINCode; } RendezvousParameters & SetSetupPINCode(uint32_t setupPINCode)