Browse code

Windows: Remove redundant 'GraphDriver() func

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2017/01/13 08:32:46
Showing 1 changed files
... ...
@@ -1,10 +1,6 @@
1 1
 package layer
2 2
 
3
-import (
4
-	"errors"
5
-
6
-	"github.com/docker/docker/daemon/graphdriver"
7
-)
3
+import "errors"
8 4
 
9 5
 // GetLayerPath returns the path to a layer
10 6
 func GetLayerPath(s Store, layer ChainID) (string, error) {
... ...
@@ -36,7 +32,3 @@ func (ls *layerStore) mountID(name string) string {
36 36
 	// windows has issues if container ID doesn't match mount ID
37 37
 	return name
38 38
 }
39
-
40
-func (ls *layerStore) GraphDriver() graphdriver.Driver {
41
-	return ls.driver
42
-}