From fd60460ddcbc83907768ec00c234c5e28a7fa549 Mon Sep 17 00:00:00 2001
From: Ken Key <key-git@ksquared.net>
Date: Tue, 29 Oct 2013 07:35:44 -1000
Subject: Remove extraneous dev debug code left in the close function.

We do not need a traceback on every close in inet_tls_dist and this
breaks using nodetool in control scripts on SSL clustered nodes
---
 lib/ssl/src/inet_tls_dist.erl | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'lib/ssl')

diff --git a/lib/ssl/src/inet_tls_dist.erl b/lib/ssl/src/inet_tls_dist.erl
index 57c859bf24..7367b5c224 100644
--- a/lib/ssl/src/inet_tls_dist.erl
+++ b/lib/ssl/src/inet_tls_dist.erl
@@ -95,11 +95,6 @@ do_setup(Kernel, Node, Type, MyNode, LongOrShortNames, SetupTime) ->
     end.
 
 close(Socket) ->
-    try
-	erlang:error(foo)
-    catch _:_ ->
-	    io:format("close called ~p ~p~n",[Socket, erlang:get_stacktrace()])
-    end,
     gen_tcp:close(Socket),
     ok.
 
-- 
cgit v1.2.3