VirtualBox

Changeset 90657 in vbox


Ignore:
Timestamp:
Aug 12, 2021 11:28:57 AM (3 years ago)
Author:
vboxsync
Message:

VMM/PDMCritSect: Removed unnecessary #ifdef IN_RING3. bugref:6695

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp

    r90608 r90657  
    843843    pCritSect->s.hEventToSignal = NIL_SUPSEMEVENT;
    844844
    845 # ifdef IN_RING3
    846 #  if defined(PDMCRITSECT_STRICT)
     845# if defined(PDMCRITSECT_STRICT)
    847846    if (pCritSect->s.Core.pValidatorRec->hThread != NIL_RTTHREAD)
    848847        RTLockValidatorRecExclReleaseOwnerUnchecked(pCritSect->s.Core.pValidatorRec);
    849 #  endif
     848# endif
    850849    Assert(!pCritSect->s.Core.pValidatorRec || pCritSect->s.Core.pValidatorRec->hThread == NIL_RTTHREAD);
    851 # endif
    852850
    853851# ifdef PDMCRITSECT_WITH_LESS_ATOMIC_STUFF
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette