Loading...
iokit/Kernel/IOPMPowerSource.cpp xnu-12377.121.6 xnu-6153.11.26
--- xnu/xnu-12377.121.6/iokit/Kernel/IOPMPowerSource.cpp
+++ xnu/xnu-6153.11.26/iokit/Kernel/IOPMPowerSource.cpp
@@ -30,7 +30,6 @@
 #include <IOKit/pwr_mgt/IOPM.h>
 #include <IOKit/IOMessage.h>
 #include <IOKit/IOLib.h>
-#include <os/log.h>
 
 #define super IOService
 
@@ -208,11 +207,7 @@
 	settingsChangedSinceUpdate = false;
 
 	// And up goes the flare
-	IOMessage notifyMessage = kIOPMMessageBatteryStatusHasChanged;
-#if DEVELOPMENT || DEBUG
-	os_log(OS_LOG_DEFAULT, "notify clients '%u'\n", (unsigned int)notifyMessage);
-#endif
-	messageClients(notifyMessage);
+	messageClients(kIOPMMessageBatteryStatusHasChanged);
 }