aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/bsc-nat/bsc_nat_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-16 16:45:27 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:20 +0800
commite1fb5670cda5ba099c24a6656058b98771fa2f3b (patch)
tree8f0c01dd719b6de5f6e0951bc600e9a8b2b2eb2e /openbsc/tests/bsc-nat/bsc_nat_test.c
parentc58da4b374c6a748bda60c6e3068568b8a3f220c (diff)
[nat] Remove parameter that is never accessed directly
The msgb needs to be around when we access the parsed structure but that needs to be guranteed by the caller handing out the parsed structure.
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index adc8a197a..ca9fbd4dd 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -294,7 +294,7 @@ static void test_contrack()
fprintf(stderr, "Con should not exist %p\n", con_found);
abort();
}
- rc = create_sccp_src_ref(con, msg, parsed);
+ rc = create_sccp_src_ref(con, parsed);
if (rc != 0) {
fprintf(stderr, "Failed to create a ref\n");
abort();