summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-11 15:07:35 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-11 15:24:29 +0100
commit684cf322434e9cadd03773c2d120b9e29a1a1d48 (patch)
tree86d78d93a28db7f47c3fc7995880197f6c43f881
parent1554f80f5e271ed2ffb918127a234a3804cedef4 (diff)
bssgp_vty: Remove dead code and compiler warning
gprs_bssgp_vty.c:48:34: warning: ‘gprs_bssgp_timer_strs’ defined but not used [-Wunused-const-variable=] static const struct value_string gprs_bssgp_timer_strs[] = { ^~~~~~~~~~~~~~~~~~~~~ Change-Id: Ia41ccb7b227c41996cdef51dc6779bfc5b5a8d48
-rw-r--r--src/gb/gprs_bssgp_vty.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c
index f23d75f0..90e50011 100644
--- a/src/gb/gprs_bssgp_vty.c
+++ b/src/gb/gprs_bssgp_vty.c
@@ -43,12 +43,6 @@
#include "common_vty.h"
-/* FIXME: this should go to some common file as it is copied
- * in vty_interface.c of the BSC */
-static const struct value_string gprs_bssgp_timer_strs[] = {
- { 0, NULL }
-};
-
static void log_set_bvc_filter(struct log_target *target,
struct bssgp_bvc_ctx *bctx)
{
@@ -219,7 +213,6 @@ int bssgp_vty_init(void)
install_default(L_BSSGP_NODE);
install_element(L_BSSGP_NODE, &libgb_exit_cmd);
install_element(L_BSSGP_NODE, &libgb_end_cmd);
- //install_element(L_BSSGP_NODE, &cfg_bssgp_timer_cmd);
return 0;
}