Loading...
iokit/Kernel/IOPMchangeNoteList.cpp xnu-792 xnu-517.7.21
--- xnu/xnu-792/iokit/Kernel/IOPMchangeNoteList.cpp
+++ xnu/xnu-517.7.21/iokit/Kernel/IOPMchangeNoteList.cpp
@@ -107,7 +107,7 @@
 {
     IOPowerConnection *tmp;
 
-    if((tmp = changeNote[firstInList].parent)) {
+    if(tmp = changeNote[firstInList].parent) {
        changeNote[firstInList].parent = 0;
        tmp->release();
     }
@@ -131,7 +131,7 @@
 {
     IOPowerConnection *tmp;
     
-    if((tmp = changeNote[firstInList].parent)) {
+    if(tmp = changeNote[firstInList].parent) {
        changeNote[firstInList].parent = 0;
        tmp->release();
     }