diff options
author | Anders Svensson <[email protected]> | 2016-05-22 19:57:58 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2016-05-30 08:54:41 +0200 |
commit | a2222ae07cbe05ba2a1b3d1d201c748969665ce4 (patch) | |
tree | 1983d378d4b5c40793e16739c9628813cb3c1256 /lib/diameter/test | |
parent | ebc80a66cd2251553565a2abf6d9ca23381bde22 (diff) | |
download | otp-a2222ae07cbe05ba2a1b3d1d201c748969665ce4.tar.gz otp-a2222ae07cbe05ba2a1b3d1d201c748969665ce4.tar.bz2 otp-a2222ae07cbe05ba2a1b3d1d201c748969665ce4.zip |
Remove diameter_reg:repl/2
Unused, and in the way for what's to come.
Diffstat (limited to 'lib/diameter/test')
-rw-r--r-- | lib/diameter/test/diameter_reg_SUITE.erl | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/diameter/test/diameter_reg_SUITE.erl b/lib/diameter/test/diameter_reg_SUITE.erl index 3d9ad8bfa8..0092553191 100644 --- a/lib/diameter/test/diameter_reg_SUITE.erl +++ b/lib/diameter/test/diameter_reg_SUITE.erl @@ -34,7 +34,6 @@ -export([add/1, add_new/1, del/1, - repl/1, terms/1, pids/1]). @@ -57,7 +56,6 @@ tc() -> [add, add_new, del, - repl, terms, pids]. @@ -90,15 +88,6 @@ del(_) -> [{Ref, Pid}] = ?reg:match(Ref), Pid = self(). -repl(_) -> - Ref = make_ref(), - true = ?reg:add_new({Ref}), - true = ?reg:repl({Ref}, Ref), - false = ?reg:add_new(Ref), - false = ?reg:repl({Ref}, Ref), - [{Ref, Pid}] = ?reg:match(Ref), - Pid = self(). - terms(_) -> Ref = make_ref(), true = ?reg:add_new(Ref), |