rx: rxi_SendPacketList remove duplicate conditional

Presumably these checks were different at some point in the past.

Change-Id: I0fb8737404a3c4fa786ab7965b60d35328d0bf32
Reviewed-on: http://gerrit.openafs.org/11632
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
This commit is contained in:
Benjamin Kaduk 2014-12-14 15:12:04 -05:00 committed by Daria Brashear
parent a1a6331e2e
commit 7644d02f25

View File

@ -2347,9 +2347,8 @@ rxi_SendPacketList(struct rx_call *call, struct rx_connection *conn,
conn->serial += len;
for (i = 0; i < len; i++) {
p = list[i];
if (p->length > conn->peer->maxPacketSize) {
/* a ping *or* a sequenced packet can count */
if ((p->length > conn->peer->maxPacketSize)) {
if (p->length > conn->peer->maxPacketSize) {
if (((p->header.type == RX_PACKET_TYPE_ACK) &&
(p->header.flags & RX_REQUEST_ACK)) &&
((i == 0) || (p->length >= conn->lastPingSize))) {
@ -2362,7 +2361,6 @@ rxi_SendPacketList(struct rx_call *call, struct rx_connection *conn,
}
}
}
}
MUTEX_EXIT(&conn->conn_data_lock);