This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git

commit b7fb4507bb233db10825e6ffd456086dedca22f6
Author: Andrew Stitcher <[email protected]>
AuthorDate: Wed Sep 16 19:18:53 2026 -0400

    PROTON-2945: Remove now unused code
---
 c/src/core/dispatcher.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/c/src/core/dispatcher.c b/c/src/core/dispatcher.c
index 4e07889f0..ba6c2c123 100644
--- a/c/src/core/dispatcher.c
+++ b/c/src/core/dispatcher.c
@@ -71,20 +71,6 @@ static inline int pni_dispatch_sasl_action(pn_transport_t* 
transport, uint64_t l
   return action(transport, SASL_FRAME_TYPE, channel, frame_payload);
 }
 
-// We could use a table based approach here if we needed to dynamically
-// add new performatives
-static inline int pni_dispatch_action(pn_transport_t* transport, uint64_t 
lcode, uint8_t frame_type, uint16_t channel, pn_bytes_t frame_payload)
-{
-  switch (frame_type) {
-  case AMQP_FRAME_TYPE:
-    return pni_dispatch_amqp_action(transport, lcode, channel, frame_payload);
-  case SASL_FRAME_TYPE:
-    return pni_dispatch_sasl_action(transport, lcode, channel, frame_payload);
-  default:
-    return pni_bad_frame_type(transport, frame_type, channel, frame_payload);
-  };
-}
-
 static inline int pni_performative_code(pn_bytes_t frame_payload, uint64_t 
*lcode)
 {
   pni_consumer_t consumer = make_consumer_from_bytes(frame_payload);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to