[sr-dev] git:5.2:b021ba5e: rtpengine: Remove unused struct fields

Henning Westerholt hw at skalatan.de
Sun Feb 9 17:24:09 CET 2020


Module: kamailio
Branch: 5.2
Commit: b021ba5e6d0e76e5ad64bf26e7343749085ac59f
URL: https://github.com/kamailio/kamailio/commit/b021ba5e6d0e76e5ad64bf26e7343749085ac59f

Author: Peter Lemenkov <lemenkov at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-02-09T17:17:34+01:00

rtpengine: Remove unused struct fields

These two were copied directly from rtpproxy module but never used by
this module.

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
(cherry picked from commit 35b82c4acb4559fd14faa86fe1c58caf763d5fd0)

---

Modified: src/modules/rtpengine/rtpengine.h

---

Diff:  https://github.com/kamailio/kamailio/commit/b021ba5e6d0e76e5ad64bf26e7343749085ac59f.diff
Patch: https://github.com/kamailio/kamailio/commit/b021ba5e6d0e76e5ad64bf26e7343749085ac59f.patch

---

diff --git a/src/modules/rtpengine/rtpengine.h b/src/modules/rtpengine/rtpengine.h
index a8266dfd42..ddc146f763 100644
--- a/src/modules/rtpengine/rtpengine.h
+++ b/src/modules/rtpengine/rtpengine.h
@@ -53,8 +53,6 @@ struct rtpp_node {
 	unsigned int		rn_weight;		/* for load balancing */
 	unsigned int		rn_displayed;		/* for delete at db reload */
 	unsigned int		rn_recheck_ticks;
-	int			rn_rep_supported;
-	int			rn_ptl_supported;
 	struct rtpp_node	*rn_next;
 };
 




More information about the sr-dev mailing list