------------------------------------------------------------
revno: 354
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Sat 2007-05-26 18:13:19 +1000
message:
  removed bogus alignment check
modified:
  tcp/tcp_io.c                   tcp_io.c-20061128004937-x70q1cu5xzg5g2tm-3
=== modified file 'tcp/tcp_io.c'
--- a/tcp/tcp_io.c      2007-05-26 06:35:41 +0000
+++ b/tcp/tcp_io.c      2007-05-26 08:13:19 +0000
@@ -85,12 +85,5 @@
 {
        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);
 }

Reply via email to