[sr-dev] git:master:35b82c4a: rtpengine: Remove unused struct fields

Henning Westerholt hw at skalatan.de
Sun Feb 9 17:16:01 CET 2020


Module: kamailio
Branch: master
Commit: 35b82c4acb4559fd14faa86fe1c58caf763d5fd0
URL: https://github.com/kamailio/kamailio/commit/35b82c4acb4559fd14faa86fe1c58caf763d5fd0

Author: Peter Lemenkov <lemenkov at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-02-09T17:15:54+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>

---

Modified: src/modules/rtpengine/rtpengine.h

---

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

---

diff --git a/src/modules/rtpengine/rtpengine.h b/src/modules/rtpengine/rtpengine.h
index 1e55cf244e..354eceb525 100644
--- a/src/modules/rtpengine/rtpengine.h
+++ b/src/modules/rtpengine/rtpengine.h
@@ -60,8 +60,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