Skip to content

Commit

Permalink
Dead code, no longer needed, causes duplicate checkins (#36051)
Browse files Browse the repository at this point in the history
* Dead code, no longer needed

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Nov 29, 2024
1 parent 22ee8be commit 1019500
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ - (void)_unregisterNodeID:(NSNumber *)nodeID
[self _updateRegistrationInfo];
}

- (void)_checkinWithContext:(NSDictionary *)context
{
[self _updateRegistrationInfo];
}

- (void)removeDevice:(MTRDevice *)device
{
[super removeDevice:device];
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 1019500

Please sign in to comment.