From 11a513b8745698e6b287f185f5d4d80b8d59205b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 16 Feb 2015 12:16:03 +1300 Subject: s4-messaging: Remove unused struct imessaging_rec Signed-off-by: Andrew Bartlett Pair-programmed-with: Garming Sam Signed-off-by: Garming Sam Reviewed-by: Volker Lendecke --- source4/lib/messaging/messaging.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'source4/lib/messaging/messaging.c') diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 66f9f1c1d0..6ce1ce7081 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -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 *); -- cgit