From b442b832971f25ad573c6765bcf63640b59342a3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 13 Dec 2008 16:17:38 +0100 Subject: ftfw: do not check for data messages in tx_queue_xmit This patch removes a IS_DATA(net) in tx_queue_xmit which is not possible to happen anymore since there are no chances to have data in the transmission queue (instead it is all in the transmission list). Signed-off-by: Pablo Neira Ayuso --- src/sync-ftfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sync-ftfw.c') diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c index 05475ab..1f445e2 100644 --- a/src/sync-ftfw.c +++ b/src/sync-ftfw.c @@ -499,7 +499,7 @@ static int tx_queue_xmit(void *data1, const void *data2) mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net); HDR_NETWORK2HOST(net); - if (IS_DATA(net) || IS_ACK(net) || IS_NACK(net)) + if (IS_ACK(net) || IS_NACK(net)) queue_add(rs_queue, net, net->len); queue_del(tx_queue, net); -- cgit v1.2.3