aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-12-07 13:11:07 +0100
committerAnders Svensson <[email protected]>2016-02-09 10:44:19 +0100
commit90ce90b20a750d39b0b1b470ccb584e3b064df95 (patch)
tree4da22a127912fcb6a4111a5ad62271f6ae0a4841 /lib/diameter/src/base
parent99174d90859c93d0a5e11cb8fef4760f2317eb6f (diff)
downloadotp-90ce90b20a750d39b0b1b470ccb584e3b064df95.tar.gz
otp-90ce90b20a750d39b0b1b470ccb584e3b064df95.tar.bz2
otp-90ce90b20a750d39b0b1b470ccb584e3b064df95.zip
Remove unnecessary erlang:monitor/2 qualification
See commit 862af31d.
Diffstat (limited to 'lib/diameter/src/base')
-rw-r--r--lib/diameter/src/base/diameter_service.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index d49176ec3e..8774a41c07 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -181,7 +181,7 @@ stop(SvcName) ->
end.
stop(ok, Pid) ->
- MRef = erlang:monitor(process, Pid),
+ MRef = monitor(process, Pid),
receive {'DOWN', MRef, process, _, _} -> ok end;
stop(No, _) ->
No.
@@ -711,7 +711,7 @@ service_options(Opts) ->
mref(false = No) ->
No;
mref(P) ->
- erlang:monitor(process, P).
+ monitor(process, P).
init_shared(#state{options = [_, _, {_,T} | _],
service_name = Svc}) ->
@@ -1403,7 +1403,7 @@ rpu(Pid, Aliases, Caps, #state{service = Svc, shared_peers = PDict}) ->
rpu(_, [] = No, _, _) ->
No;
rpu(Pid, Aliases, Caps, PDict) ->
- erlang:monitor(process, Pid),
+ monitor(process, Pid),
T = {Pid, Caps},
lists:foreach(fun(A) -> ?Dict:append(A, T, PDict) end, Aliases).