aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-11-13 11:23:16 +0100
committerHarald Welte <laforge@netfilter.org>2009-11-13 11:23:16 +0100
commit5bde51b91ead6aee798f6194320ac9d1ec3b9a70 (patch)
treea67818f0330ee299703113678f8c4f9496655c82 /openbsc
parent0f255857d406223a85bae12d69c028274ecd66b2 (diff)
make ipaccess-config compile again (remove duplicate testres_name definition)
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/ipaccess-config.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/openbsc/src/ipaccess-config.c b/openbsc/src/ipaccess-config.c
index add45f94b..62be5ff95 100644
--- a/openbsc/src/ipaccess-config.c
+++ b/openbsc/src/ipaccess-config.c
@@ -79,23 +79,6 @@ struct ipacc_cusage_elem {
rxlev:6;
} __attribute__ ((packed));
-static const char *ipacc_testres_names[] = {
- [NM_IPACC_TESTRES_SUCCESS] = "SUCCESS",
- [NM_IPACC_TESTRES_TIMEOUT] = "TIMEOUT",
- [NM_IPACC_TESTRES_NO_CHANS] = "NO CHANNELS",
- [NM_IPACC_TESTRES_PARTIAL] = "PARTIAL",
- [NM_IPACC_TESTRES_STOPPED] = "STOPPED",
-};
-
-const char *ipacc_testres_name(u_int8_t res)
-{
- if (res < ARRAY_SIZE(ipacc_testres_names) &&
- ipacc_testres_names[res])
- return ipacc_testres_names[res];
-
- return "unknown";
-}
-
static int test_rep(void *_msg)
{
struct msgb *msg = _msg;