Remove all unused variables and functions (#5823)

This commit is contained in:
Harshavardhana
2018-04-15 06:56:04 -07:00
committed by Nitish Tiwari
parent 97a8d856b6
commit adf9a9d300
14 changed files with 29 additions and 99 deletions

View File

@@ -18,7 +18,6 @@ package cmd
import (
"crypto/md5"
"encoding/base64"
"encoding/hex"
"github.com/minio/sha256-simd"
@@ -47,8 +46,3 @@ func getMD5Sum(data []byte) []byte {
func getMD5Hash(data []byte) string {
return hex.EncodeToString(getMD5Sum(data))
}
// getMD5HashBase64 returns MD5 hash in base64 encoding of given data.
func getMD5HashBase64(data []byte) string {
return base64.StdEncoding.EncodeToString(getMD5Sum(data))
}