diff --git a/src/cmds/restic/main.go b/src/cmds/restic/main.go index a4d162679..03f7f9035 100644 --- a/src/cmds/restic/main.go +++ b/src/cmds/restic/main.go @@ -5,7 +5,6 @@ import ( "os" "restic" "restic/debug" - "runtime" "github.com/spf13/cobra" @@ -33,17 +32,6 @@ directories in an encrypted repository stored on different backends. }, } -func init() { - // set GOMAXPROCS to number of CPUs - if runtime.Version() < "go1.5" { - gomaxprocs := os.Getenv("GOMAXPROCS") - debug.Log("read GOMAXPROCS from env variable, value: %s", gomaxprocs) - if gomaxprocs == "" { - runtime.GOMAXPROCS(runtime.NumCPU()) - } - } -} - func main() { debug.Log("main %#v", os.Args) err := cmdRoot.Execute()