From 95f7eb288c4b8b69d61fa8d68957fb21f09e11e5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 21 Jul 2011 16:57:57 +0200 Subject: remove DLRSL and DLNM, we don't need them They are not used anywhere in our libraries, so they should be defined by the respective applications --- include/osmocom/core/logging.h | 4 +--- src/logging.c | 12 ------------ 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index 20c1254a..06d90e52 100644 --- a/include/osmocom/core/logging.h +++ b/include/osmocom/core/logging.h @@ -43,9 +43,7 @@ void logp(int subsys, char *file, int line, int cont, const char *format, ...) _ #define DLMUX -4 #define DLMI -5 #define DLMIB -6 -#define DLRSL -7 -#define DLNM -8 -#define OSMO_NUM_DLIB 9 +#define OSMO_NUM_DLIB 7 struct log_category { uint8_t loglevel; diff --git a/src/logging.c b/src/logging.c index 52f401c0..44fea98f 100644 --- a/src/logging.c +++ b/src/logging.c @@ -94,18 +94,6 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = { .description = "A-bis Input Driver for B-Channels (voice)", .enabled = 0, .loglevel = LOGL_NOTICE, }, - [INT2IDX(DLRSL)] = { - .name = "DRSL", - .description = "A-bis Radio Siganlling Link (RSL)", - .color = "\033[1;35m", - .enabled = 1, .loglevel = LOGL_NOTICE, - }, - [INT2IDX(DLNM)] = { - .name = "DNM", - .description = "A-bis Network Management / O&M (NM/OML)", - .color = "\033[1;36m", - .enabled = 1, .loglevel = LOGL_INFO, - }, }; /* You have to keep this in sync with the structure loglevel_strs. */ -- cgit v1.2.3