Loading...
--- xnu/xnu-201.5/iokit/Kernel/IOPowerConnection.cpp
+++ xnu/xnu-123.5/iokit/Kernel/IOPowerConnection.cpp
@@ -48,67 +48,6 @@
// **********************************************************************************
-// setChildHasRequestedPower
-//
-// Parent of the connection calls here when the child requests power
-// **********************************************************************************
-void IOPowerConnection::setChildHasRequestedPower ( void )
-{
- requestFlag = true;
-}
-
-// **********************************************************************************
-// childHasRequestedPower
-//
-// Parent of the connection calls here when the child requests power
-// **********************************************************************************
-bool IOPowerConnection::childHasRequestedPower ( void )
-{
- return requestFlag;
-}
-
-
-// **********************************************************************************
-// setPreventIdleSleepFlag
-//
-// **********************************************************************************
-void IOPowerConnection::setPreventIdleSleepFlag ( unsigned long flag )
-{
- preventIdleSleepFlag = (flag != 0);
-}
-
-
-// **********************************************************************************
-// getPreventIdleSleepFlag
-//
-// **********************************************************************************
-bool IOPowerConnection::getPreventIdleSleepFlag ( void )
-{
- return preventIdleSleepFlag;
-}
-
-
-// **********************************************************************************
-// setPreventSystemSleepFlag
-//
-// **********************************************************************************
-void IOPowerConnection::setPreventSystemSleepFlag ( unsigned long flag )
-{
- preventSystemSleepFlag = (flag != 0);
-}
-
-
-// **********************************************************************************
-// getPreventSystemSleepFlag
-//
-// **********************************************************************************
-bool IOPowerConnection::getPreventSystemSleepFlag ( void )
-{
- return preventSystemSleepFlag;
-}
-
-
-// **********************************************************************************
// setParentKnowsState
//
// Child of the connection calls here to set its reminder that the parent does
@@ -152,21 +91,3 @@
}
-// **********************************************************************************
-// setAwaitingAck
-//
-// **********************************************************************************
-void IOPowerConnection::setAwaitingAck ( bool value )
-{
- awaitingAck = value;
-}
-
-
-// **********************************************************************************
-// getAwaitingAck
-//
-// **********************************************************************************
-bool IOPowerConnection::getAwaitingAck ( void )
-{
- return awaitingAck;
-}