forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused time update code from MTRDevice.
_scheduleNextUpdate is only called from _updateDeviceTimeAndScheduleNextUpdate. __updateDeviceTimeAndScheduleNextUpdate is only called from _performScheduledTimeUpdate. _performScheduledTimeUpdate is only called from _scheduleNextUpdate. So all three are unused in practice and can be removed. At that point, timeUpdateScheduled, timeSyncLock, and _setTimeOnDevice become unused and can be removed. Then _endpointsWithTimeSyncClusterServer, _setUTCTime, and _setDSTOffsets become unused and can be removed. temporaryMetaDataCache was just unused on both MTRDevice and MTRDevice_Concrete. _getInternalState is only used on MTRDevice_Concrete, and then _internalDeviceState is unused on MTRDevice and can be removed.
- Loading branch information
1 parent
e9d7b2f
commit f774988
Showing
2 changed files
with
0 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters