remove some unneccessary type conversions

This commit is contained in:
Marten Seemann
2019-02-17 12:09:18 +08:00
parent 1e796fed4f
commit fbe8844006
7 changed files with 14 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ var _ = Describe("PRR sender", func() {
})
It("burst loss results in slow start", func() {
bytesInFlight := protocol.ByteCount(20 * protocol.DefaultTCPMSS)
bytesInFlight := 20 * protocol.DefaultTCPMSS
const numPacketsLost = 13
const ssthreshAfterLoss = 10
const congestionWindow = ssthreshAfterLoss * protocol.DefaultTCPMSS