aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-24 00:58:38 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-26 20:57:24 +0100
commit12c039cdb23331156ffb867c6ed4f7fb1e912c7e (patch)
tree18b9fa8e46568e03c926f9d0c5fb45f0c60abaa2 /src/tbf.h
parenta6ba67cb3a8696cbb251ba32c5b8daa877cd2b04 (diff)
debug_diagram: Remove the special debug_diagram compilation mode
This approach is somehow flawed. We need/want to debug problems on systems with real traffic and re-compiling it with debug_diagram is not an option. All internal logging needs to be expressive enough so we can understand what is going on (e.g. create a script to post-process the output).
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 39e2507..e512ba5 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -215,11 +215,6 @@ struct gprs_rlcmac_tbf {
uint8_t cs; /* current coding scheme */
-#ifdef DEBUG_DIAGRAM
- int diag; /* number where TBF is presented in diagram */
- int diag_new; /* used to format output of new TBF */
-#endif
-
/* these should become protected but only after gprs_rlcmac_data.c
* stops to iterate over all tbf in its current form */
enum gprs_rlcmac_tbf_state state;