aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-04 13:43:41 +0200
committerBjörn Gustavsson <[email protected]>2016-04-04 13:43:41 +0200
commitc038d673f70da8c82cf22a515592709a7fbbbcee (patch)
tree7fba68588798c878a859e776efbb4ef1097786d3 /lib/kernel
parente259b0317e710a70544777526d60964a830de1af (diff)
parent47f8db4e66950fe9d8c48e31e6230c4073cf5e70 (diff)
downloadotp-c038d673f70da8c82cf22a515592709a7fbbbcee.tar.gz
otp-c038d673f70da8c82cf22a515592709a7fbbbcee.tar.bz2
otp-c038d673f70da8c82cf22a515592709a7fbbbcee.zip
Merge branch 'bjorn/kernel/remove-deprecated/OTP-13449'
* bjorn/kernel/remove-deprecated/OTP-13449: rpc: Remove functions deprecated in R12B
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/doc/src/rpc.xml20
-rw-r--r--lib/kernel/src/rpc.erl25
2 files changed, 0 insertions, 45 deletions
diff --git a/lib/kernel/doc/src/rpc.xml b/lib/kernel/doc/src/rpc.xml
index 032b4fb0c3..be1641ffd9 100644
--- a/lib/kernel/doc/src/rpc.xml
+++ b/lib/kernel/doc/src/rpc.xml
@@ -347,26 +347,6 @@
</func>
<func>
- <name name="safe_multi_server_call" arity="2"/>
- <name name="safe_multi_server_call" arity="3"/>
- <fsummary>Interact with the servers on a number of nodes
- (deprecated).</fsummary>
- <desc>
- <warning>
- <p>Deprecated. Use
- <seealso marker="#multi_server_call/2"><c>multi_server_call/2,3</c></seealso>
- instead.</p>
- </warning>
- <p>In Erlang/OTP R6B and earlier releases,
- <c>multi_server_call/2,3</c> could not handle the case
- where the remote node exists, but there is no server called
- <c><anno>Name</anno></c>. Instead, this function had to be used. In
- Erlang/OTP R7B and later releases, however, the functions are
- equivalent, except that this function is slightly slower.</p>
- </desc>
- </func>
-
- <func>
<name name="sbcast" arity="2"/>
<fsummary>Broadcast a message synchronously to a registered process on
all nodes.</fsummary>
diff --git a/lib/kernel/src/rpc.erl b/lib/kernel/src/rpc.erl
index b9284487d2..0e1e3f070c 100644
--- a/lib/kernel/src/rpc.erl
+++ b/lib/kernel/src/rpc.erl
@@ -52,10 +52,6 @@
parallel_eval/1,
pmap/3, pinfo/1, pinfo/2]).
-%% Deprecated calls.
--deprecated([{safe_multi_server_call,2},{safe_multi_server_call,3}]).
--export([safe_multi_server_call/2,safe_multi_server_call/3]).
-
%% gen_server exports
-export([init/1, handle_call/3, handle_cast/2, handle_info/2,
terminate/2, code_change/3]).
@@ -591,27 +587,6 @@ multi_server_call(Nodes, Name, Msg)
Monitors = send_nodes(Nodes, Name, Msg, []),
rec_nodes(Name, Monitors).
-%% Deprecated functions. Were only needed when communicating with R6 nodes.
-
--spec safe_multi_server_call(Name, Msg) -> {Replies, BadNodes} when
- Name :: atom(),
- Msg :: term(),
- Replies :: [Reply :: term()],
- BadNodes :: [node()].
-
-safe_multi_server_call(Name, Msg) ->
- multi_server_call(Name, Msg).
-
--spec safe_multi_server_call(Nodes, Name, Msg) -> {Replies, BadNodes} when
- Nodes :: [node()],
- Name :: atom(),
- Msg :: term(),
- Replies :: [Reply :: term()],
- BadNodes :: [node()].
-
-safe_multi_server_call(Nodes, Name, Msg) ->
- multi_server_call(Nodes, Name, Msg).
-
rec_nodes(Name, Nodes) ->
rec_nodes(Name, Nodes, [], []).