From afee69d57700d32e34cfbbb10caecc2f10207416 Mon Sep 17 00:00:00 2001 From: Aman Sharma Date: Mon, 13 Jan 2025 15:01:59 -0800 Subject: [PATCH] Remove unused iovec in QuicClientTransportLite::recvFrom Summary: Nothing is using this. Don't know why it's here Reviewed By: jbeshay Differential Revision: D67988403 fbshipit-source-id: 5619d49b31c0ed72fa6b3fef6584e54a4c8fabe3 --- quic/client/QuicClientTransportLite.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/quic/client/QuicClientTransportLite.cpp b/quic/client/QuicClientTransportLite.cpp index 8c1ba3a8e..8e2238cbe 100644 --- a/quic/client/QuicClientTransportLite.cpp +++ b/quic/client/QuicClientTransportLite.cpp @@ -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 {};