diff --git a/internal/platform/platform_unix.go b/internal/platform/platform_unix.go index 50b401c9e9..5e5f649241 100644 --- a/internal/platform/platform_unix.go +++ b/internal/platform/platform_unix.go @@ -14,12 +14,3 @@ func runtimeArchitecture() (string, error) { } return unix.ByteSliceToString(utsname.Machine[:]), nil } - -// NumProcs returns the number of processors on the system -// -// Deprecated: temporary stub for non-Windows to provide an alias for the deprecated github.com/docker/docker/pkg/platform package. -// -// FIXME(thaJeztah): remove once we remove github.com/docker/docker/pkg/platform -func NumProcs() uint32 { - return 0 -}