aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-09-23 14:05:29 +0200
committerAnders Svensson <[email protected]>2013-11-28 17:27:28 +0100
commit5313da9fc31e14b7b676b8c24a539256a551ebb7 (patch)
tree90f4139be70cf0b8f896884f037c2d4050aefd90 /lib/diameter/test
parent265c88664b93f9069c86bf6c25e5d07b7f41d2dc (diff)
downloadotp-5313da9fc31e14b7b676b8c24a539256a551ebb7.tar.gz
otp-5313da9fc31e14b7b676b8c24a539256a551ebb7.tar.bz2
otp-5313da9fc31e14b7b676b8c24a539256a551ebb7.zip
Remove dead code from codec suite
Diffstat (limited to 'lib/diameter/test')
-rw-r--r--lib/diameter/test/diameter_codec_test.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/diameter/test/diameter_codec_test.erl b/lib/diameter/test/diameter_codec_test.erl
index 295d23912b..0b4568a9e5 100644
--- a/lib/diameter/test/diameter_codec_test.erl
+++ b/lib/diameter/test/diameter_codec_test.erl
@@ -473,9 +473,6 @@ pack(true, Arity, Avp, Value, Acc) ->
pack(false, Arity, Avp, Value, Acc) ->
min(Arity, Avp, Value, Acc).
-all(Mod, Name, Avp, V) ->
- all(Mod:avp_arity(Name, Avp), Avp, V).
-
all(1, Avp, V) ->
{Avp, V};
all({0,'*'}, Avp, V) ->
@@ -489,9 +486,6 @@ a(N, Avp, V)
when N /= 0 ->
{Avp, lists:duplicate(N,V)}.
-min(Mod, Name, Avp, V, Acc) ->
- min(Mod:avp_arity(Name, Avp), Avp, V, Acc).
-
min(1, Avp, V, Acc) ->
[{Avp, V} | Acc];
min({0,_}, _, _, Acc) ->