From 1019500aab5f69cbb16c304d4e8d0556f471458d Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Sat, 12 Oct 2024 10:52:56 -0700 Subject: [PATCH] Dead code, no longer needed, causes duplicate checkins (#36051) * Dead code, no longer needed * Restyled by clang-format --------- Co-authored-by: Restyled.io --- src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm b/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm index ca3100a1adf3f2..7e88870aa7b570 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm @@ -83,11 +83,6 @@ - (void)_unregisterNodeID:(NSNumber *)nodeID [self _updateRegistrationInfo]; } -- (void)_checkinWithContext:(NSDictionary *)context -{ - [self _updateRegistrationInfo]; -} - - (void)removeDevice:(MTRDevice *)device { [super removeDevice:device]; @@ -253,8 +248,6 @@ - (BOOL)_setupXPCConnection 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