laforge has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/openbsc/+/15053 )

Change subject: nat: Remove unused func bsc_vty_init()
......................................................................

nat: Remove unused func bsc_vty_init()

The function is never called in osmo-bsc-nat, and logging_vty_add_cmds()
is called directly in main().

Change-Id: Ie13cf5dc7f8dfa6fc6c3953dfcacaed7d5feb114
---
M openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
1 file changed, 0 insertions(+), 8 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c 
b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
index bc1050d..a90dc15 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
@@ -1429,11 +1429,3 @@

        return 0;
 }
-
-
-/* called by the telnet interface... we have our own init above */
-int bsc_vty_init(struct gsm_network *network)
-{
-       logging_vty_add_cmds(NULL);
-       return 0;
-}

--
To view, visit https://gerrit.osmocom.org/c/openbsc/+/15053
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie13cf5dc7f8dfa6fc6c3953dfcacaed7d5feb114
Gerrit-Change-Number: 15053
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@gnumonks.org>
Gerrit-MessageType: merged

Reply via email to