From 81a4451fea812d65ddef4b3a4fc821cbfefd7670 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Fri, 22 Mar 2019 09:56:34 +0100 Subject: Add deadcode linter Signed-off-by: Sascha Grunert --- cmd/podman/common.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cmd/podman/common.go') diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 10fed053e..f4d128df2 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -10,17 +10,13 @@ import ( "github.com/containers/libpod/cmd/podman/cliconfig" "github.com/containers/libpod/libpod" "github.com/containers/libpod/pkg/rootless" - "github.com/containers/storage" "github.com/fatih/camelcase" jsoniter "github.com/json-iterator/go" "github.com/pkg/errors" "github.com/spf13/cobra" ) -var ( - stores = make(map[storage.Store]struct{}) - json = jsoniter.ConfigCompatibleWithStandardLibrary -) +var json = jsoniter.ConfigCompatibleWithStandardLibrary const ( idTruncLength = 12 -- cgit v1.2.3-54-g00ecf