From 0866dee5fdb039adf73cd99e23bc5382a3dc8610 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Wed, 13 Dec 2017 17:31:28 +0000 Subject: [PATCH] Remove getBlkioWeightDevices in daemon_windows.go as it is not needed Signed-off-by: Yong Tang --- daemon/daemon_windows.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/daemon/daemon_windows.go b/daemon/daemon_windows.go index 33ecf7a3f5..8582d4e580 100644 --- a/daemon/daemon_windows.go +++ b/daemon/daemon_windows.go @@ -26,7 +26,6 @@ import ( winlibnetwork "github.com/docker/libnetwork/drivers/windows" "github.com/docker/libnetwork/netlabel" "github.com/docker/libnetwork/options" - specs "github.com/opencontainers/runtime-spec/specs-go" "github.com/pkg/errors" "github.com/sirupsen/logrus" "golang.org/x/sys/windows" @@ -47,10 +46,6 @@ func getPluginExecRoot(root string) string { return filepath.Join(root, "plugins") } -func getBlkioWeightDevices(config containertypes.Resources) ([]specs.LinuxWeightDevice, error) { - return nil, nil -} - func (daemon *Daemon) parseSecurityOpt(container *container.Container, hostConfig *containertypes.HostConfig) error { return parseSecurityOpt(container, hostConfig) }