aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-05-19 13:20:36 +0200
committerHans <[email protected]>2015-05-26 15:08:25 +0200
commite4b26deed9f99b04dae1195144d9cbdbd61be515 (patch)
treeab1bdd34d874c5f1f3cf6a527bd828a4f8aa7207 /lib/ssh/src/ssh.erl
parentaf51a9165b53cbbeae7428630299f82f0271dae0 (diff)
downloadotp-e4b26deed9f99b04dae1195144d9cbdbd61be515.tar.gz
otp-e4b26deed9f99b04dae1195144d9cbdbd61be515.tar.bz2
otp-e4b26deed9f99b04dae1195144d9cbdbd61be515.zip
ssh: Remove erroneous option 'role'
This option is set internaly but there is no reason to set it when calling a function.
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r--lib/ssh/src/ssh.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl
index 71e7d77475..a9d6f09e72 100644
--- a/lib/ssh/src/ssh.erl
+++ b/lib/ssh/src/ssh.erl
@@ -297,8 +297,6 @@ handle_option([{pwdfun, _} = Opt | Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
handle_option([{key_cb, _} = Opt | Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
-handle_option([{role, _} = Opt | Rest], SocketOptions, SshOptions) ->
- handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
handle_option([{compression, _} = Opt | Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
%%Backwards compatibility