From 71b5a754cec09b2f1bcef986bdd6fd109451b8f2 Mon Sep 17 00:00:00 2001 From: "Daniel, Dao Quang Minh" Date: Wed, 22 Apr 2015 21:53:45 +0000 Subject: [PATCH] remove unused utils Signed-off-by: Daniel, Dao Quang Minh --- daemon/execdriver/native/utils.go | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 daemon/execdriver/native/utils.go diff --git a/daemon/execdriver/native/utils.go b/daemon/execdriver/native/utils.go deleted file mode 100644 index a703926453..0000000000 --- a/daemon/execdriver/native/utils.go +++ /dev/null @@ -1,22 +0,0 @@ -// +build linux - -package native - -//func findUserArgs() []string { -//for i, a := range os.Args { -//if a == "--" { -//return os.Args[i+1:] -//} -//} -//return []string{} -//} - -//// loadConfigFromFd loads a container's config from the sync pipe that is provided by -//// fd 3 when running a process -//func loadConfigFromFd() (*configs.Config, error) { -//var config *libcontainer.Config -//if err := json.NewDecoder(os.NewFile(3, "child")).Decode(&config); err != nil { -//return nil, err -//} -//return config, nil -//}