diff options
author | Max <msuraev@sysmocom.de> | 2019-03-05 12:09:57 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2019-03-05 12:10:52 +0100 |
commit | 01f9bc7bf196484aa22f63934b73ee2d1f7e82c9 (patch) | |
tree | 386ba6ac424291432db6829fa0b29daeda239a73 /src | |
parent | 9feaddc39097a77c1fedeec3dc22fb36cf012787 (diff) |
EDGE tests: remove no-op check
The headerTypeControl() function always return constant and is only used
inside OSMO_ASSERT() which compares it to the very same constant which
makes it no-op. Let's remove this clutter.
Change-Id: Ie0f81fe05a2b3f432de7d1f3446e8115d7524ff4
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs_coding_scheme.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gprs_coding_scheme.h b/src/gprs_coding_scheme.h index 1acb14bc..31f09402 100644 --- a/src/gprs_coding_scheme.h +++ b/src/gprs_coding_scheme.h @@ -100,7 +100,6 @@ public: uint8_t optionalPaddingBits() const; const char *name() const; HeaderType headerTypeData() const; - HeaderType headerTypeControl() const; static GprsCodingScheme getBySizeUL(unsigned size); static GprsCodingScheme getGprsByNum(unsigned num); @@ -146,11 +145,6 @@ inline bool GprsCodingScheme::isCompatible(GprsCodingScheme o) const return (isGprs() && o.isGprs()) || (isEgprs() && o.isEgprs()); } -inline GprsCodingScheme::HeaderType GprsCodingScheme::headerTypeControl() const -{ - return HEADER_GPRS_CONTROL; -} - inline GprsCodingScheme::GprsCodingScheme(Scheme s) : m_scheme(s) { |