From 8f2aaf47c910a984de370774e6910ea5d453983e Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 7 Jun 2018 03:19:45 +0200 Subject: bsc_test: drop "scan to MSC" code path The TEST_SCAN_TO_MSC is completely unused, but still the code linked bsc_scan_bts_msg() for the unused code path. This is unlikely to ever be expanded. Remove TEST_SCAN_TO_MSC and reduce linking requirements. (I am this close to dropping the test entirely to avoid continuous linking annoyance, but ok, since nothing else tests timezones AFAIK, keeping it.) Change-Id: I27521950432e412f919cde811c9473557d0ec25e --- tests/bsc/bsc_test.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests') diff --git a/tests/bsc/bsc_test.c b/tests/bsc/bsc_test.c index 106b08bc7..08d376016 100644 --- a/tests/bsc/bsc_test.c +++ b/tests/bsc/bsc_test.c @@ -43,7 +43,6 @@ void *ctx = NULL; enum test { TEST_SCAN_TO_BTS, - TEST_SCAN_TO_MSC, }; /* GSM 04.08 MM INFORMATION test message */ @@ -158,12 +157,6 @@ static void test_scan(void) /* override timezone of msg coming from the MSC */ result = bsc_scan_msc_msg(conn, msg); break; - case TEST_SCAN_TO_MSC: - /* override timezone of msg coming from the BSC */ - /* FIXME: no test for this case is defined in - * test_scan_defs[], so this is never used. */ - result = bsc_scan_bts_msg(conn, msg); - break; default: abort(); break; -- cgit v1.2.3