Index: net/quic/quic_packet_creator.cc |
diff --git a/net/quic/quic_packet_creator.cc b/net/quic/quic_packet_creator.cc |
index e80ea8537e08f8a298f67ff31c83930d8771b117..93e040d52bb152e130261adf52e22b4f5a94347b 100644 |
--- a/net/quic/quic_packet_creator.cc |
+++ b/net/quic/quic_packet_creator.cc |
@@ -93,9 +93,8 @@ size_t QuicPacketCreator::BytesFree() { |
framer_->GetMaxPlaintextSize(options_.max_packet_length); |
if (packet_size_ > max_plaintext_size) { |
return 0; |
- } else { |
- return max_plaintext_size - packet_size_; |
} |
+ return max_plaintext_size - packet_size_; |
} |
bool QuicPacketCreator::AddFrame(const QuicFrame& frame) { |