path: root/src
diff options
authorPablo Neira Ayuso <>2008-12-13 16:17:38 +0100
committerPablo Neira Ayuso <>2008-12-13 16:17:38 +0100
commitb442b832971f25ad573c6765bcf63640b59342a3 (patch)
treed8bff75d8bcc8fa2592b35e6998763824b400b52 /src
parent8d6efef0daed05925bf9b13c21948afa651482a5 (diff)
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 <>
Diffstat (limited to 'src')
1 files changed, 1 insertions, 1 deletions
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);
- 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);