summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-04 20:19:44 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-04 20:19:44 +0200
commit7b76934f033bd1839d3ed56987441b1b80698a63 (patch)
tree6cbc1c28832aa18de9f74ef2b53816b2163f6c9c
parentb18c7456cbd57388f334c025292473b19d450c56 (diff)
nat: The second call didn't really add anything to the test.
Avoid: Coverity CID 1042323
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index cbc1f18..4a244db 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -783,9 +783,6 @@ static void test_cr_filter()
msgb_reset(msg);
copy_to_msg(msg, cr_filter[i].data, cr_filter[i].length);
- nat_lst = bsc_nat_acc_lst_get(nat, "nat");
- bsc_lst = bsc_nat_acc_lst_get(nat, "bsc");
-
if (gsm_parse_reg(nat_entry, &nat_entry->imsi_deny_re, &nat_entry->imsi_deny,
cr_filter[i].nat_imsi_deny ? 1 : 0,
&cr_filter[i].nat_imsi_deny) != 0)