diff --git a/daemon/info_unix.go b/daemon/info_unix.go index 55b6c6e79b..60b2f99870 100644 --- a/daemon/info_unix.go +++ b/daemon/info_unix.go @@ -112,9 +112,6 @@ func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo) } func fillDriverWarnings(v *types.Info) { - if v.DriverStatus == nil { - return - } for _, pair := range v.DriverStatus { if pair[0] == "Data loop file" { msg := fmt.Sprintf("WARNING: %s: usage of loopback devices is "+ @@ -140,9 +137,6 @@ func fillDriverWarnings(v *types.Info) { } func getBackingFs(v *types.Info) string { - if v.DriverStatus == nil { - return "" - } for _, pair := range v.DriverStatus { if pair[0] == "Backing Filesystem" { return pair[1]