[sr-dev] git:5.3:79c97c97: rtpengine: Remove unused struct fields

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


Module: kamailio
Branch: 5.3
Commit: 79c97c97eaf12942e6173d2170f66bd4f72ab509
URL: https://github.com/kamailio/kamailio/commit/79c97c97eaf12942e6173d2170f66bd4f72ab509

Author: Peter Lemenkov <lemenkov at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-02-09T17:17:20+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/79c97c97eaf12942e6173d2170f66bd4f72ab509.diff
Patch: https://github.com/kamailio/kamailio/commit/79c97c97eaf12942e6173d2170f66bd4f72ab509.patch

---

diff --git a/src/modules/rtpengine/rtpengine.h b/src/modules/rtpengine/rtpengine.h
index b5314c2c35..4edf52f9ba 100644
--- a/src/modules/rtpengine/rtpengine.h
+++ b/src/modules/rtpengine/rtpengine.h
@@ -59,8 +59,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