remove DLRSL and DLNM, we don't need them
authorHarald Welte <laforge@gnumonks.org>
Thu, 21 Jul 2011 14:57:57 +0000 (16:57 +0200)
committerHarald Welte <laforge@gnumonks.org>
Thu, 21 Jul 2011 14:58:44 +0000 (16:58 +0200)
They are not used anywhere in our libraries, so they should be defined
by the respective applications

include/osmocom/core/logging.h
src/logging.c

index 20c1254..06d90e5 100644 (file)
@@ -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;
index 52f401c..44fea98 100644 (file)
@@ -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. */