diff --git a/examples/fabric-bridge-app/linux/include/DeviceManager.h b/examples/fabric-bridge-app/linux/include/DeviceManager.h index 31f5f4e8868153..b1dd791033511f 100644 --- a/examples/fabric-bridge-app/linux/include/DeviceManager.h +++ b/examples/fabric-bridge-app/linux/include/DeviceManager.h @@ -62,16 +62,6 @@ class DeviceManager */ int RemoveDeviceEndpoint(Device * dev); - /** - * @brief Gets a device from its endpoint ID. - * - * This function iterates through the available devices and returns the device that matches the - * specified endpoint ID. If no device matches the endpoint ID, it returns nullptr. - * - * @param endpointId The endpoint ID of the device to be retrieved. - * @return Device* A pointer to the device if found, nullptr otherwise. - */ - Device * GetDevice(chip::EndpointId endpointId) const; /** * @brief Gets a device from its endpoint ID. *