make ipaccess-config compile again (remove duplicate testres_name definition)
diff --git a/openbsc/src/ipaccess-config.c b/openbsc/src/ipaccess-config.c
index add45f9..62be5ff 100644
--- a/openbsc/src/ipaccess-config.c
+++ b/openbsc/src/ipaccess-config.c
@@ -79,23 +79,6 @@
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;