From 684cf322434e9cadd03773c2d120b9e29a1a1d48 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Nov 2016 15:07:35 +0100 Subject: [PATCH] bssgp_vty: Remove dead code and compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gb/gprs_bssgp_vty.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c index f23d75f0c..90e50011f 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; }