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
This commit is contained in:
Daniel Willmann 2014-08-07 15:10:09 +02:00 committed by Daniel Willmann
parent cd44ec41c5
commit d1d1633121
1 changed files with 0 additions and 8 deletions

View File

@ -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