summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-06-18 00:25:09 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-06-18 10:40:18 +0200
commitfaa04613143eff3345e9a0e1b7abebefb977e6e0 (patch)
tree50b32fb3b4684cdc1a665e61299427506dbe06ae /tests
parentb592134dcfbb69b6bfdf0a6feb696d506e31476e (diff)
gprs_ns_test.c: Remove unused byte arrays
Commit 0d4e949e229a649ffd0503d8e930dba8be7dd34d changed the code to use functions with local variables holding the bytes, but forgot to remove the old global variables. This test fixes compilation warnings. Change-Id: I140de30038222b0419423d8c4f9da1946651a4e7
Diffstat (limited to 'tests')
-rw-r--r--tests/gb/gprs_ns_test.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/tests/gb/gprs_ns_test.c b/tests/gb/gprs_ns_test.c
index 4c6fd391..456d8e3f 100644
--- a/tests/gb/gprs_ns_test.c
+++ b/tests/gb/gprs_ns_test.c
@@ -178,35 +178,6 @@ static void setup_bssgp(struct gprs_ns_inst *nsi, struct sockaddr_in *src_addr,
send_bssgp_reset(nsi, src_addr, bvci);
}
-/* GPRS Network Service, PDU type: NS_RESET,
- * Cause: O&M intervention, NS VCI: 0x1122, NSEI 0x1122
- */
-static const unsigned char gprs_ns_reset[12] = {
- 0x02, 0x00, 0x81, 0x01, 0x01, 0x82, 0x11, 0x22,
- 0x04, 0x82, 0x11, 0x22
-};
-
-/* GPRS Network Service, PDU type: NS_RESET,
- * Cause: O&M intervention, NS VCI: 0x3344, NSEI 0x1122
- */
-static const unsigned char gprs_ns_reset_vci2[12] = {
- 0x02, 0x00, 0x81, 0x01, 0x01, 0x82, 0x33, 0x44,
- 0x04, 0x82, 0x11, 0x22
-};
-
-/* GPRS Network Service, PDU type: NS_RESET,
- * Cause: O&M intervention, NS VCI: 0x1122, NSEI 0x3344
- */
-static const unsigned char gprs_ns_reset_nsei2[12] = {
- 0x02, 0x00, 0x81, 0x01, 0x01, 0x82, 0x11, 0x22,
- 0x04, 0x82, 0x33, 0x44
-};
-
-/* GPRS Network Service, PDU type: NS_ALIVE */
-static const unsigned char gprs_ns_alive[1] = {
- 0x0a
-};
-
/* GPRS Network Service, PDU type: NS_STATUS,
* Cause: PDU not compatible with the protocol state
* PDU: NS_ALIVE
@@ -215,26 +186,6 @@ static const unsigned char gprs_ns_status_invalid_alive[7] = {
0x08, 0x00, 0x81, 0x0a, 0x02, 0x81, 0x0a
};
-/* GPRS Network Service, PDU type: NS_ALIVE_ACK */
-static const unsigned char gprs_ns_alive_ack[1] = {
- 0x0b
-};
-
-/* GPRS Network Service, PDU type: NS_UNBLOCK */
-static const unsigned char gprs_ns_unblock[1] = {
- 0x06
-};
-
-
-/* GPRS Network Service, PDU type: NS_STATUS,
- * Cause: PDU not compatible with the protocol state
- * PDU: NS_RESET_ACK, NS VCI: 0x1122, NSEI 0x1122
- */
-static const unsigned char gprs_ns_status_invalid_reset_ack[15] = {
- 0x08, 0x00, 0x81, 0x0a, 0x02, 0x89, 0x03, 0x01,
- 0x82, 0x11, 0x22, 0x04, 0x82, 0x11, 0x22
-};
-
/* GPRS Network Service, PDU type: NS_UNITDATA, BVCI 0 */
static const unsigned char gprs_bssgp_reset[22] = {
0x00, 0x00, 0x00, 0x00, 0x22, 0x04, 0x82, 0x4a,