Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9414


Change subject: Remove unused logging subsystems DCC and DMGCP
......................................................................

Remove unused logging subsystems DCC and DMGCP

Change-Id: Ib4f67bb00e1d5460e643717b53f6a4d81278dc5d
---
M include/osmocom/bsc/debug.h
M src/osmo-bsc/osmo_bsc_main.c
2 files changed, 1 insertion(+), 14 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/14/9414/1

diff --git a/include/osmocom/bsc/debug.h b/include/osmocom/bsc/debug.h
index 37f102c..2b3d150 100644
--- a/include/osmocom/bsc/debug.h
+++ b/include/osmocom/bsc/debug.h
@@ -9,7 +9,6 @@
 /* Debug Areas of the code */
 enum {
        DRLL,
-       DCC,
        DMM,
        DRR,
        DRSL,
@@ -17,7 +16,6 @@
        DPAG,
        DMEAS,
        DMSC,
-       DMGCP,
        DHO,
        DHODEC,
        DREF,
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 095a07a..f3daccc 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -81,7 +81,7 @@
        printf("  Some useful help...\n");
        printf("  -h --help this text\n");
        printf("  -D --daemonize Fork the process into a background daemon\n");
-       printf("  -d option --debug=DRLL:DCC:DMM:DRR:DRSL:DNM enable 
debugging\n");
+       printf("  -d option --debug=DRLL:DMM:DRR:DRSL:DNM enable debugging\n");
        printf("  -s --disable-color\n");
        printf("  -T --timestamp. Print a timestamp in the debug output.\n");
        printf("  -c --config-file filename The config file to use.\n");
@@ -281,12 +281,6 @@
                .color = "\033[1;31m",
                .enabled = 1, .loglevel = LOGL_NOTICE,
        },
-       [DCC] = {
-               .name = "DCC",
-               .description = "Layer3 Call Control (CC)",
-               .color = "\033[1;32m",
-               .enabled = 1, .loglevel = LOGL_NOTICE,
-       },
        [DMM] = {
                .name = "DMM",
                .description = "Layer3 Mobility Management (MM)",
@@ -327,11 +321,6 @@
                .description = "Mobile Switching Center",
                .enabled = 1, .loglevel = LOGL_NOTICE,
        },
-       [DMGCP] = {
-               .name = "DMGCP",
-               .description = "Media Gateway Control Protocol",
-               .enabled = 1, .loglevel = LOGL_NOTICE,
-       },
        [DHO] = {
                .name = "DHO",
                .description = "Hand-Over Process",

--
To view, visit https://gerrit.osmocom.org/9414
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib4f67bb00e1d5460e643717b53f6a4d81278dc5d
Gerrit-Change-Number: 9414
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <[email protected]>

Reply via email to