From eb3dd9415905b0b66dd8ce30cb6be21939fb4454 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Sun, 10 Mar 2019 12:20:04 -0400 Subject: Remove an unused if statement I added Signed-off-by: Matthew Heon --- libpod/runtime_pod_infra_linux.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/libpod/runtime_pod_infra_linux.go b/libpod/runtime_pod_infra_linux.go index 71328905b..6b07bcb31 100644 --- a/libpod/runtime_pod_infra_linux.go +++ b/libpod/runtime_pod_infra_linux.go @@ -31,9 +31,6 @@ func (r *Runtime) makeInfraContainer(ctx context.Context, p *Pod, imgName, imgID isRootless := rootless.IsRootless() entryCmd := []string{r.config.InfraCommand} - if config == nil { - - } // I've seen circumstances where config is being passed as nil. // Let's err on the side of safety and make sure it's safe to use. if config != nil { -- cgit v1.2.3-54-g00ecf