diff options
author | Björn Gustavsson <[email protected]> | 2016-01-27 12:02:18 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-01-27 12:53:06 +0100 |
commit | db61a493f72cc13f3e9b709b8e86da7e3d246f2b (patch) | |
tree | 5e720607ec8fe2411ea577f3da3e4fd72d51c093 /lib/kernel/src/code.erl | |
parent | 5ca1e8e321f6782952e6b2627c1255d593e5eb0c (diff) | |
download | otp-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.erl | 2 |
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() -> |