Remove unused function

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2023-04-08 20:28:44 -07:00
parent 722a48d726
commit ad08ee3898

View File

@@ -98,13 +98,6 @@ var outMsgPool = sync.Pool{
}, },
} }
// Create a new outMsg.
func newOutMsg(index uint64, entries []*Entry) *CommittedEntry {
ce := cePool.Get().(*CommittedEntry)
ce.Index, ce.Entries = index, entries
return ce
}
func (sq *sendq) send(subj, rply string, hdr, msg []byte) { func (sq *sendq) send(subj, rply string, hdr, msg []byte) {
if sq == nil { if sq == nil {
return return