diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-21 16:57:57 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-21 16:58:44 +0200 |
commit | 95f7eb288c4b8b69d61fa8d68957fb21f09e11e5 (patch) | |
tree | 3a0e4113c06d8bfd0d3f48b1d985c0b733c32361 | |
parent | 892e621fec571c7cba3573caa0d328ed1b25d8ee (diff) |
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
-rw-r--r-- | include/osmocom/core/logging.h | 4 | ||||
-rw-r--r-- | src/logging.c | 12 |
2 files changed, 1 insertions, 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. */ |