Skip to content

Commit

Permalink
Remove unused iovec in QuicClientTransportLite::recvFrom
Browse files Browse the repository at this point in the history
Summary: Nothing is using this. Don't know why it's here

Reviewed By: jbeshay

Differential Revision: D67988403

fbshipit-source-id: 5619d49b31c0ed72fa6b3fef6584e54a4c8fabe3
  • Loading branch information
Aman Sharma authored and facebook-github-bot committed Jan 13, 2025
1 parent bc789de commit afee69d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions quic/client/QuicClientTransportLite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1312,9 +1312,6 @@ void QuicClientTransportLite::recvFrom(
// us to decrypt in place. If the fizz decrypt api could decrypt in-place
// even if shared, then we could allocate one giant IOBuf here.
Buf readBuffer = folly::IOBuf::createCombined(readBufferSize);
struct iovec vec;
vec.iov_base = readBuffer->writableData();
vec.iov_len = readBufferSize;

sockaddr* rawAddr{nullptr};
struct sockaddr_storage addrStorage {};
Expand Down

0 comments on commit afee69d

Please sign in to comment.