Change in ...openbsc[master]: nat: Remove unused func bsc_vty_init()

laforge gerrit-no-reply at lists.osmocom.org
Mon Aug 5 17:46:10 UTC 2019


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 <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190805/62f1674e/attachment.html>


More information about the gerrit-log mailing list