server: Remove deadcode/deprecated code. (#2088)

This commit is contained in:
Harshavardhana
2016-07-04 14:46:38 -07:00
committed by Anand Babu (AB) Periasamy
parent 1ec86dac2c
commit 4cfbdb1bf0
6 changed files with 6 additions and 57 deletions

View File

@@ -19,7 +19,6 @@ package main
import (
"fmt"
"os"
"path/filepath"
"sort"
"github.com/minio/cli"
@@ -141,11 +140,6 @@ func checkMainSyntax(c *cli.Context) {
}
}
// mustGetProfilePath must get location that the profile will be written to.
func mustGetProfilePath() string {
return filepath.Join(mustGetConfigPath(), globalMinioProfilePath)
}
func main() {
app := registerApp()
app.Before = func(c *cli.Context) error {