VirtualBox

Changeset 7166 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Feb 27, 2008 11:02:14 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28461
Message:

Additions/Linux: removed some debug logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/vboxmod.c

    r6982 r7166  
    104104                if (ASMAtomicCmpXchgU32(&hgcm_connections[i].client_id, client_id, 0)) {
    105105                        hgcm_connections[i].filp = filp;
    106 #ifdef DEBUG
    107                         LogRelFunc(("Registered client ID %d, file pointer %p at position %d in the table.\n",
    108                                     client_id, filp, i));
    109 #endif
    110106                        found = true;
    111107                }
     
    128124        for (i = 0; (i < MAX_HGCM_CONNECTIONS) && (false == found); ++i) {
    129125                if (hgcm_connections[i].client_id == client_id) {
    130 #ifdef DEBUG
    131                         LogRelFunc(("Unregistered client ID %d, file pointer %p at position %d in the table.\n",
    132                                     client_id, hgcm_connections[i].filp, i));
    133 #endif
    134126                        hgcm_connections[i].filp = NULL;
    135127                        hgcm_connections[i].client_id = 0;
     
    158150                if (hgcm_connections[i].filp == filp) {
    159151                        VBoxGuestHGCMDisconnectInfo infoDisconnect;
    160 #ifdef DEBUG
    161                         LogRelFunc(("Unregistered client ID %d, file pointer %p at position %d in the table.\n",
    162                                     hgcm_connections[i].client_id, filp, i));
    163 #endif
    164152                        infoDisconnect.u32ClientID = hgcm_connections[i].client_id;
    165153                        vboxadd_cmc_call(vboxDev, IOCTL_VBOXGUEST_HGCM_DISCONNECT,
     
    189177static int vboxadd_release(struct inode *inode, struct file * filp)
    190178{
    191 #ifdef DEBUG
    192         LogRelFunc(("Cleaning up HGCM connections for file pointer %p\n", filp));
    193 #endif
    194179        vboxadd_unregister_all_hgcm_connections(filp);
    195180        return 0;
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