VirtualBox

Changeset 68852 in vbox


Ignore:
Timestamp:
Sep 25, 2017 1:01:11 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118106
Message:

Main/Display+Keyboard: remove effectively unused variables, the VMMDev reference is long gone

Location:
trunk/src/VBox/Main
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r68850 r68852  
    402402    /** Pointer to the associated display driver. */
    403403    struct DRVMAINDISPLAY   *mpDrv;
    404     /** Pointer to the device instance for the VMM Device. */
    405     PPDMDEVINS              mpVMMDev;
    406     /** Set after the first attempt to find the VMM Device. */
    407     bool                    mfVMMDevInited;
    408404
    409405    unsigned mcMonitors;
  • trunk/src/VBox/Main/include/KeyboardImpl.h

    r62485 r68852  
    8686    /** Pointer to the associated keyboard driver(s). */
    8787    struct DRVMAINKEYBOARD *mpDrv[KEYBOARD_MAX_DEVICES];
    88     /** Pointer to the device instance for the VMM Device. */
    89     PPDMDEVINS              mpVMMDev;
    90     /** Set after the first attempt to find the VMM Device. */
    91     bool                    mfVMMDevInited;
    9288
    9389    /* The current guest keyboard LED status. */
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r68835 r68852  
    132132
    133133    mpDrv = NULL;
    134     mpVMMDev = NULL;
    135     mfVMMDevInited = false;
    136134
    137135    rc = RTCritSectInit(&mVideoAccelLock);
     
    747745
    748746    mpDrv = NULL;
    749     mpVMMDev = NULL;
    750     mfVMMDevInited = true;
    751747}
    752748
     
    44404436#endif
    44414437        pThis->pDisplay->mpDrv = NULL;
    4442         pThis->pDisplay->mpVMMDev = NULL;
    44434438    }
    44444439}
  • trunk/src/VBox/Main/src-client/KeyboardImpl.cpp

    r67914 r68852  
    7979{
    8080    RT_ZERO(mpDrv);
    81     mpVMMDev = NULL;
    82     mfVMMDevInited = false;
    8381    menmLeds = PDMKEYBLEDS_NONE;
    8482    return BaseFinalConstruct();
     
    141139        mpDrv[i] = NULL;
    142140    }
    143 
    144     mpVMMDev = NULL;
    145     mfVMMDevInited = true;
    146141
    147142    menmLeds = PDMKEYBLEDS_NONE;
     
    357352                break;
    358353            }
    359         pThis->pKeyboard->mpVMMDev = NULL;
    360354    }
    361355}
Note: See TracChangeset for help on using the changeset viewer.

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