1
0
Fork 0

Remove unused code

timestamps
dump_stack() 2018-10-27 07:37:51 +00:00
parent 445bef15f7
commit 29c12f18ce
1 changed files with 0 additions and 13 deletions

13
main.go
View File

@ -405,19 +405,6 @@ func exists(path string) bool {
return true
}
func oldmain() {
kcfgEnv := "OUT_OF_TREE_KERNELS_CONFIG"
kcfgPath := os.Getenv(kcfgEnv)
if !exists(kcfgPath) {
kcfgPath = os.Getenv("GOPATH") + "/src/github.com/jollheef/" +
"out-of-tree/tools/kernel-factory/output/kernels.toml"
}
if !exists(kcfgPath) {
log.Fatalln("Please specify kernels config path in " + kcfgEnv)
}
}
func pewHandler(workPath, kcfgPath string) (err error) {
ka, err := readArtifactConfig(workPath + "/.out-of-tree.toml")
if err != nil {