aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy/octphy_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-octphy/octphy_vty.c')
-rw-r--r--src/osmo-bts-octphy/octphy_vty.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/osmo-bts-octphy/octphy_vty.c b/src/osmo-bts-octphy/octphy_vty.c
index 8b263fdf..308252bb 100644
--- a/src/osmo-bts-octphy/octphy_vty.c
+++ b/src/osmo-bts-octphy/octphy_vty.c
@@ -54,8 +54,6 @@
#define OCT_STR "OCTPHY Um interface\n"
-static struct gsm_bts *vty_bts;
-
/* configuration */
DEFUN(cfg_phy_hwaddr, cfg_phy_hwaddr_cmd,
@@ -437,10 +435,8 @@ DEFUN(show_sys_info, show_sys_info_cmd,
}
-int bts_model_vty_init(struct gsm_bts *bts)
+int bts_model_vty_init(void *ctx)
{
- vty_bts = bts;
-
install_element(PHY_NODE, &cfg_phy_hwaddr_cmd);
install_element(PHY_NODE, &cfg_phy_netdev_cmd);
install_element(PHY_NODE, &cfg_phy_rf_port_idx_cmd);