From c487cd4633a98235359d6084383d8c7ea49600bc Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 5 Nov 2019 13:29:36 +0100 Subject: pkg/build: refactor Image function arguments Image takes too many arguments, so we need to do lots of forwarding, adding new argumnets is painful and most OSes are not interested in lots of arguments. Combine all arguments into a params struct. --- pkg/build/testlinux.go | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 pkg/build/testlinux.go (limited to 'pkg/build/testlinux.go') diff --git a/pkg/build/testlinux.go b/pkg/build/testlinux.go deleted file mode 100644 index 482c162c5..000000000 --- a/pkg/build/testlinux.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2019 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -package build - -// TypeBuilder implements the builder interface. -type testBuilder struct{} - -func (tb testBuilder) build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, - cmdlineFile, sysctlFile string, config []byte) error { - return nil -} - -func (tb testBuilder) clean(string, string) error { - return nil -} -- cgit mrf-deployment