From da400a24a7c9d5ac1595f10e0c76df5a461aa5dc Mon Sep 17 00:00:00 2001 From: "Chas Williams (CONTRACTOR)" Date: Wed, 20 Oct 2010 09:06:35 -0400 Subject: [PATCH] rx: remove spurious compare for maxDgramPackets maxDgramPackets is initially assigned this value after correcting for the wire endian. This compare is harmless on little endian since the network endian value will typically be huge and redundant on big endian machines. Change-Id: I4a070b2964805f45c0593c80a2604c4e4cd26ff7 Reviewed-on: http://gerrit.openafs.org/3015 Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/rx/rx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index 5d2e484c29..d2e343c4fd 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -4297,7 +4297,6 @@ rxi_ReceiveAckPacket(struct rx_call *call, struct rx_packet *np, maxDgramPackets = MIN(maxDgramPackets, rxi_nDgramPackets); maxDgramPackets = MIN(maxDgramPackets, (int)(peer->ifDgramPackets)); - maxDgramPackets = MIN(maxDgramPackets, tSize); if (maxDgramPackets > 1) { peer->maxDgramPackets = maxDgramPackets; call->MTU = RX_JUMBOBUFFERSIZE + RX_HEADER_SIZE;