From c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 25 Oct 2025 20:28:43 -0700 Subject: Drop the protocol version for internal implementations. The ops vector / protocol API/ABI were meant to support external implementations, but we have moved away from having pluggable protocols, and we aren't likely to support it any time soon. --- src/sp/protocol/reqrep0/rep.c | 1 - src/sp/protocol/reqrep0/req.c | 1 - src/sp/protocol/reqrep0/xrep.c | 1 - src/sp/protocol/reqrep0/xreq.c | 1 - 4 files changed, 4 deletions(-) (limited to 'src/sp/protocol/reqrep0') diff --git a/src/sp/protocol/reqrep0/rep.c b/src/sp/protocol/reqrep0/rep.c index ea3e9558..940a79a0 100644 --- a/src/sp/protocol/reqrep0/rep.c +++ b/src/sp/protocol/reqrep0/rep.c @@ -673,7 +673,6 @@ static nni_proto_sock_ops rep0_sock_ops = { }; static nni_proto rep0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REP0_SELF, REP0_SELF_NAME }, .proto_peer = { REP0_PEER, REP0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV, diff --git a/src/sp/protocol/reqrep0/req.c b/src/sp/protocol/reqrep0/req.c index 451253bd..cc2875ce 100644 --- a/src/sp/protocol/reqrep0/req.c +++ b/src/sp/protocol/reqrep0/req.c @@ -933,7 +933,6 @@ static nni_proto_sock_ops req0_sock_ops = { }; static nni_proto req0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REQ0_SELF, REQ0_SELF_NAME }, .proto_peer = { REQ0_PEER, REQ0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV, diff --git a/src/sp/protocol/reqrep0/xrep.c b/src/sp/protocol/reqrep0/xrep.c index e0b5fece..2422da0d 100644 --- a/src/sp/protocol/reqrep0/xrep.c +++ b/src/sp/protocol/reqrep0/xrep.c @@ -430,7 +430,6 @@ static nni_proto_sock_ops xrep0_sock_ops = { }; static nni_proto xrep0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REP0_SELF, REP0_SELF_NAME }, .proto_peer = { REP0_PEER, REP0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW, diff --git a/src/sp/protocol/reqrep0/xreq.c b/src/sp/protocol/reqrep0/xreq.c index 8939d8f4..e99623ea 100644 --- a/src/sp/protocol/reqrep0/xreq.c +++ b/src/sp/protocol/reqrep0/xreq.c @@ -313,7 +313,6 @@ static nni_proto_sock_ops xreq0_sock_ops = { }; static nni_proto xreq0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REQ0_SELF, REQ0_SELF_NAME }, .proto_peer = { REQ0_PEER, REQ0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW, -- cgit v1.2.3-70-g09d2