s4-messaging: Remove unused struct imessaging_rec
authorAndrew Bartlett <abartlet@samba.org>
Sun, 15 Feb 2015 23:16:03 +0000 (12:16 +1300)
committerVolker Lendecke <vl@samba.org>
Mon, 16 Feb 2015 11:15:07 +0000 (12:15 +0100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/lib/messaging/messaging.c

index 66f9f1c1d03632ef93867ed5b4ffb2cb9d581338..6ce1ce7081dad06e887b4ff48d3d07ff576c712c 100644 (file)
@@ -62,8 +62,6 @@ struct imessaging_context {
        struct dispatch_fn **dispatch;
        uint32_t num_types;
        struct idr_context *dispatch_tree;
-       struct imessaging_rec *pending;
-       struct imessaging_rec *retry_queue;
        struct irpc_list *irpc;
        struct idr_context *idr;
        struct server_id_db *names;
@@ -81,23 +79,6 @@ struct dispatch_fn {
 };
 
 /* an individual message */
-struct imessaging_rec {
-       struct imessaging_rec *next, *prev;
-       struct imessaging_context *msg;
-       const char *path;
-
-       struct imessaging_header {
-               uint32_t version;
-               uint32_t msg_type;
-               struct server_id from;
-               struct server_id to;
-               uint32_t length;
-       } *header;
-
-       DATA_BLOB packet;
-       uint32_t retries;
-};
-
 
 static void irpc_handler(struct imessaging_context *, void *,
                         uint32_t, struct server_id, DATA_BLOB *);