Skip to content

Commit

Permalink
cdc: Remove spurious readAmt line from previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mik3y committed Oct 12, 2012
1 parent b328f3c commit 3812fbc
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public int read(byte[] dest, int timeoutMillis) throws IOException {
final int numBytesRead;
synchronized (mReadBufferLock) {
int readAmt = Math.min(dest.length, mReadBuffer.length);
readAmt = Math.min(readAmt, mReadEndpoint.getMaxPacketSize());
numBytesRead = mConnection.bulkTransfer(mReadEndpoint, mReadBuffer, readAmt,
timeoutMillis);
if (numBytesRead < 0) {
Expand Down

0 comments on commit 3812fbc

Please sign in to comment.