From d172c987144a2140da608e81b2595a84bef4c163 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 1 Apr 2020 11:12:58 +0200 Subject: utils: delete dead code Signed-off-by: Giuseppe Scrivano --- utils/utils.go | 1 - 1 file changed, 1 deletion(-) (limited to 'utils/utils.go') diff --git a/utils/utils.go b/utils/utils.go index 3c8c0a9b0..cf58ca3fb 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -65,7 +65,6 @@ func CopyDetachable(dst io.Writer, src io.Reader, keys []byte) (written int64, e break } if i == len(keys)-1 { - // src.Close() return 0, ErrDetach } nr, er = src.Read(buf) -- cgit v1.2.3-54-g00ecf