summaryrefslogtreecommitdiff
path: root/libpod/diff.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/diff.go')
-rw-r--r--libpod/diff.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/libpod/diff.go b/libpod/diff.go
index 5dac56a44..3d95a8e41 100644
--- a/libpod/diff.go
+++ b/libpod/diff.go
@@ -43,11 +43,3 @@ func (r *Runtime) getLayerID(id string) (string, error) {
}
return toLayer, nil
}
-
-func (r *Runtime) getLayerParent(layerID string) (string, error) { //nolint
- layer, err := r.store.Layer(layerID)
- if err != nil {
- return "", err
- }
- return layer.Parent, nil
-}