Dead code, no longer needed, causes duplicate checkins (#36051)
* Dead code, no longer needed
* Restyled by clang-format
---------
Co-authored-by: Restyled.io <commits@restyled.io>
diff --git a/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm b/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm
index ca3100a..7e88870 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm
+++ b/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm
@@ -83,11 +83,6 @@
[self _updateRegistrationInfo];
}
-- (void)_checkinWithContext:(NSDictionary *)context
-{
- [self _updateRegistrationInfo];
-}
-
- (void)removeDevice:(MTRDevice *)device
{
[super removeDevice:device];
@@ -253,8 +248,6 @@
MTR_LOG("%@ Activating new XPC connection", self);
[self.xpcConnection activate];
- [self _checkinWithContext:[NSDictionary dictionary]];
-
// FIXME: Trying to kick all the MTRDevices attached to this controller to re-establish connections
// This state needs to be stored properly and re-established at connnection time