From fec1db95f5d30b359753ac352caa8fb69fa16a95 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 5 Aug 2019 16:39:07 +0200 Subject: [PATCH] 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 --- openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c index bc1050dc9..a90dc154b 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 @@ int bsc_nat_vty_init(struct bsc_nat *nat) 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; -}