From 2599644d8161e6a091596e313ece56189d12348f Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Tue, 11 Dec 2018 14:35:43 +0100 Subject: remove pointless declaration of struct gsm_network We were passing a NULL pointer of type struct gsm_network * to ctrl_interface_setup_dynip(). Remove the pointless declaration of this struct. Also, replace the sgsn_controlif_setup() helper function with a direct call to ctrl_interface_setup_dynip(). The helper fnuction was just a thin wrapper around the latter. Change-Id: Ib4151afa5bff01e63b462cca517fb60ac0503759 Related: OS#3356 --- include/osmocom/sgsn/gprs_sgsn.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index b6afe6903..a0a056feb 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -404,9 +404,6 @@ char *gprs_pdpaddr2str(uint8_t *pdpa, uint8_t len); /* * ctrl interface related work */ -struct gsm_network; -struct ctrl_handle *sgsn_controlif_setup(struct gsm_network *, - const char *bind_addr, uint16_t port); int sgsn_ctrl_cmds_install(void); /* -- cgit v1.2.3