VirtualBox

Changeset 56428 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Jun 15, 2015 11:19:08 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101030
Message:

VBoxSCSI: Remove needless code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxSCSI.cpp

    r56426 r56428  
    501501    SSMR3PutU8    (pSSM, pVBoxSCSI->enmState);
    502502
    503     /*
    504      * Old saved states only save the size of the buffer left to read/write.
    505      * To avoid changing the saved state version we can just calculate the original
    506      * buffer size from the offset and remaining size.
    507      */
    508     pVBoxSCSI->cbBuf = pVBoxSCSI->cbBufLeft + pVBoxSCSI->iBuf;
    509 
    510503    if (pVBoxSCSI->cbBuf)
    511504        SSMR3PutMem(pSSM, pVBoxSCSI->pbBuf, pVBoxSCSI->cbBuf);
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