aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2014-08-07 15:10:09 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2014-08-07 16:12:05 +0200
commitd1d1633121a142fc249b7c9c07c991f545dc6b2e (patch)
treea8b4017af9fee7d498b42886cbc1bdf554adbeba /src/tbf.h
parentcd44ec41c5b0838c1a2492427d133d813d2a5171 (diff)
tbf: Remove unused function sns()
The current code uses dir.*l.window.sns() directly. The current implementation only returns the dl.window.sns() which will cause problems. Remove now and re-add it as a method of DL/UL TBF if and when it is needed. Ticket: SYS#389 Sponsored by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 779f9fab..518a4f0a 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -147,8 +147,6 @@ struct gprs_rlcmac_tbf {
const char *imsi() const;
void assign_imsi(const char *imsi);
- uint16_t sns() const;
-
time_t created_ts() const;
/* attempt to make things a bit more fair */
@@ -317,12 +315,6 @@ inline const char *gprs_rlcmac_tbf::imsi() const
return m_imsi;
}
-inline uint16_t gprs_rlcmac_tbf::sns() const
-{
- /* assume dl/ul do the same thing */
- return dir.dl.window.sns();
-}
-
const char *tbf_name(gprs_rlcmac_tbf *tbf);
inline time_t gprs_rlcmac_tbf::created_ts() const