Remove unused isUnidirectionalStream() function
MODIFY
quic/codec/Decode.cpp
quic/codec/Decode.cpp
@@ -50,13 +50,6 @@ quic::PacketNum nextAckedPacketLen(
return packetNum - ackBlockLen;
}
-/**
- * Returns whether the given StreamId identifies a unidirectional stream.
- */
-bool isUnidirectionalStream(quic::StreamId stream) {
- return stream & 0b10;
-}
-
// The octet following the version contains the lengths of the two connection ID
// fields that follow it
constexpr size_t kConnIdLengthOctet = 1;

Remove unused isUnidirectionalStream() function

Reviewed By: JunqiWang

Differential Revision: D15538072

fbshipit-source-id: 49b26a708431c6409ec495f53ea7304ebdec5fde