summaryrefslogtreecommitdiffstats
path: root/ctdb/tcp/tcp_io.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-26 18:13:19 +1000
committerAndrew Tridgell <tridge@samba.org>2007-05-26 18:13:19 +1000
commit7ff6e17ca1a0d5e4470f7b9c4350b46df8e19ade (patch)
tree2904722984d8309fbd87603ad8b4cccd2c73fa73 /ctdb/tcp/tcp_io.c
parent35955c1476cc4f1ea83bcb95641150ea050af2e9 (diff)
downloadsamba-7ff6e17ca1a0d5e4470f7b9c4350b46df8e19ade.tar.gz
samba-7ff6e17ca1a0d5e4470f7b9c4350b46df8e19ade.tar.xz
samba-7ff6e17ca1a0d5e4470f7b9c4350b46df8e19ade.zip
removed bogus alignment check
(This used to be ctdb commit 93fd5fd01dc61a53a91e319d5cbbe0fc8f740717)
Diffstat (limited to 'ctdb/tcp/tcp_io.c')
-rw-r--r--ctdb/tcp/tcp_io.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ctdb/tcp/tcp_io.c b/ctdb/tcp/tcp_io.c
index c5e3340b53..e90770ec73 100644
--- a/ctdb/tcp/tcp_io.c
+++ b/ctdb/tcp/tcp_io.c
@@ -85,12 +85,5 @@ int ctdb_tcp_queue_pkt(struct ctdb_node *node, uint8_t *data, uint32_t length)
{
struct ctdb_tcp_node *tnode = talloc_get_type(node->private_data,
struct ctdb_tcp_node);
- struct ctdb_req_header *hdr = (struct ctdb_req_header *)data;
-
- if (length & (CTDB_TCP_ALIGNMENT-1)) {
- DEBUG(0,(__location__ " Length 0x%x not multiple of alignment op %d\n",
- length, hdr->operation));
- }
-
return ctdb_queue_send(tnode->queue, data, length);
}