qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject svn commit: r1653640 - in /qpid/dispatch/trunk/src: router_node.c router_private.h waypoint.c
Date Wed, 21 Jan 2015 20:07:42 GMT
Author: tross
Date: Wed Jan 21 20:07:42 2015
New Revision: 1653640

URL: http://svn.apache.org/r1653640
Log:
DISPATCH-6 - Removed unneeded peer_link.  There are no plans to implement
             bidirectional link routes.

Modified:
    qpid/dispatch/trunk/src/router_node.c
    qpid/dispatch/trunk/src/router_private.h
    qpid/dispatch/trunk/src/waypoint.c

Modified: qpid/dispatch/trunk/src/router_node.c
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/src/router_node.c?rev=1653640&r1=1653639&r2=1653640&view=diff
==============================================================================
--- qpid/dispatch/trunk/src/router_node.c (original)
+++ qpid/dispatch/trunk/src/router_node.c Wed Jan 21 20:07:42 2015
@@ -992,7 +992,6 @@ static int router_incoming_link_handler(
     rlink->waypoint       = 0;
     rlink->link           = link;
     rlink->connected_link = 0;
-    rlink->peer_link      = 0;
     rlink->ref            = 0;
     rlink->target         = 0;
     DEQ_INIT(rlink->event_fifo);
@@ -1086,7 +1085,6 @@ static int router_outgoing_link_handler(
     rlink->waypoint       = 0;
     rlink->link           = link;
     rlink->connected_link = 0;
-    rlink->peer_link      = 0;
     rlink->ref            = 0;
     rlink->target         = 0;
     DEQ_INIT(rlink->event_fifo);
@@ -1311,7 +1309,6 @@ static void router_outbound_open_handler
     rlink->waypoint       = 0;
     rlink->link           = receiver;
     rlink->connected_link = 0;
-    rlink->peer_link      = 0;
     rlink->ref            = 0;
     rlink->target         = 0;
     DEQ_INIT(rlink->event_fifo);
@@ -1338,7 +1335,6 @@ static void router_outbound_open_handler
     rlink->waypoint       = 0;
     rlink->link           = sender;
     rlink->connected_link = 0;
-    rlink->peer_link      = 0;
     rlink->ref            = 0;
     rlink->target         = 0;
     DEQ_INIT(rlink->event_fifo);

Modified: qpid/dispatch/trunk/src/router_private.h
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/src/router_private.h?rev=1653640&r1=1653639&r2=1653640&view=diff
==============================================================================
--- qpid/dispatch/trunk/src/router_private.h (original)
+++ qpid/dispatch/trunk/src/router_private.h Wed Jan 21 20:07:42 2015
@@ -82,7 +82,6 @@ struct qd_router_link_t {
     qd_waypoint_t          *waypoint;        ///< [ref] Waypoint that owns this link
     qd_link_t              *link;            ///< [own] Link pointer
     qd_router_link_t       *connected_link;  ///< [ref] If this is a link-route, reference
the connected link
-    qd_router_link_t       *peer_link;       ///< [ref] If this is a bidirectional link-route,
reference the peer link
     qd_router_link_ref_t   *ref;             ///< Pointer to a containing reference object
     char                   *target;          ///< Target address for incoming links
     qd_routed_event_list_t  event_fifo;      ///< FIFO of outgoing delivery/link events
(no messages)

Modified: qpid/dispatch/trunk/src/waypoint.c
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/src/waypoint.c?rev=1653640&r1=1653639&r2=1653640&view=diff
==============================================================================
--- qpid/dispatch/trunk/src/waypoint.c (original)
+++ qpid/dispatch/trunk/src/waypoint.c Wed Jan 21 20:07:42 2015
@@ -94,7 +94,6 @@ static void qd_waypoint_visit_sink_LH(qd
         rlink->waypoint       = wp;
         rlink->link           = wp->out_link;
         rlink->connected_link = 0;
-        rlink->peer_link      = 0;
         rlink->ref            = 0;
         rlink->target         = 0;
         DEQ_INIT(rlink->event_fifo);
@@ -169,7 +168,6 @@ static void qd_waypoint_visit_source_LH(
         rlink->waypoint       = wp;
         rlink->link           = wp->in_link;
         rlink->connected_link = 0;
-        rlink->peer_link      = 0;
         rlink->ref            = 0;
         rlink->target         = 0;
         DEQ_INIT(rlink->event_fifo);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message