aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-03-05 12:09:57 +0100
committerMax <msuraev@sysmocom.de>2019-03-05 12:10:52 +0100
commit01f9bc7bf196484aa22f63934b73ee2d1f7e82c9 (patch)
tree386ba6ac424291432db6829fa0b29daeda239a73 /tests
parent9feaddc39097a77c1fedeec3dc22fb36cf012787 (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 'tests')
-rw-r--r--tests/edge/EdgeTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/edge/EdgeTest.cpp b/tests/edge/EdgeTest.cpp
index 6ce2334..0cb123e 100644
--- a/tests/edge/EdgeTest.cpp
+++ b/tests/edge/EdgeTest.cpp
@@ -170,8 +170,6 @@ static void test_coding_scheme()
/* Check header types */
OSMO_ASSERT(current_cs.headerTypeData() ==
GprsCodingScheme::HEADER_GPRS_DATA);
- OSMO_ASSERT(current_cs.headerTypeControl() ==
- GprsCodingScheme::HEADER_GPRS_CONTROL);
check_coding_scheme(current_cs, GprsCodingScheme::GPRS);
}