diff --git a/src/app/clusters/descriptor/descriptor.cpp b/src/app/clusters/descriptor/descriptor.cpp index 571ab466fc47de..24b9633f76acb1 100644 --- a/src/app/clusters/descriptor/descriptor.cpp +++ b/src/app/clusters/descriptor/descriptor.cpp @@ -142,12 +142,6 @@ CHIP_ERROR DescriptorAttrAccess::Read(const ConcreteAttributePath & aPath, Attri void MatterDescriptorPluginServerInitCallback(void) { #if CHIP_CLUSTER_CONFIG_ENABLE_COMPLEX_ATTRIBUTE_READ - static bool attrAccessRegistered = false; - - if (!attrAccessRegistered) - { - registerAttributeAccessOverride(&gAttrAccess); - attrAccessRegistered = true; - } + registerAttributeAccessOverride(&gAttrAccess); #endif }