Skip to content

Commit

Permalink
fixup: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiusti committed Oct 4, 2024
1 parent d78af52 commit ec60589
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/adaptors/amqp/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,9 @@ pn_link_t *qd_link_pn(const qd_link_t *link)
return link->pn_link;
}

qd_session_t *qd_link_session(qd_link_t *link)
qd_session_t *qd_link_get_session(const qd_link_t *link)
{
assert(link);
return link->qd_session;
}

Expand Down Expand Up @@ -893,13 +894,6 @@ void qd_link_set_link_id(qd_link_t *link, uint64_t link_id)
}


qd_session_t *qd_link_get_session(const qd_link_t *link)
{
assert(link);
return link->qd_session;
}


qd_session_t *qd_session(pn_session_t *pn_ssn)
{
assert(pn_ssn && qd_session_from_pn(pn_ssn) == 0);
Expand Down

0 comments on commit ec60589

Please sign in to comment.