aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/code.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-01-27 12:02:18 +0100
committerBjörn Gustavsson <[email protected]>2016-01-27 12:53:06 +0100
commitdb61a493f72cc13f3e9b709b8e86da7e3d246f2b (patch)
tree5e720607ec8fe2411ea577f3da3e4fd72d51c093 /lib/kernel/src/code.erl
parent5ca1e8e321f6782952e6b2627c1255d593e5eb0c (diff)
downloadotp-db61a493f72cc13f3e9b709b8e86da7e3d246f2b.tar.gz
otp-db61a493f72cc13f3e9b709b8e86da7e3d246f2b.tar.bz2
otp-db61a493f72cc13f3e9b709b8e86da7e3d246f2b.zip
Remove first argument of code_server:call()
Remove the first argument for code_server:call(). It makes no sense. The only caller is 'code'. Note that the code_server module is undocumented and that code_server:call() is an internal helper function.
Diffstat (limited to 'lib/kernel/src/code.erl')
-rw-r--r--lib/kernel/src/code.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/code.erl b/lib/kernel/src/code.erl
index ae28c97b47..b2940dc479 100644
--- a/lib/kernel/src/code.erl
+++ b/lib/kernel/src/code.erl
@@ -305,7 +305,7 @@ get_mode() -> call(get_mode).
%%-----------------------------------------------------------------
call(Req) ->
- code_server:call(code_server, Req).
+ code_server:call(Req).
-spec start_link() -> {'ok', pid()} | {'error', 'crash'}.
start_link() ->