Skip to content

Commit fb99e33

Browse files
Merge pull request moby#50464 from thaJeztah/rm_pkg_platform_leftovers
internal/platform: remove NumProcs() stub for Linux
2 parents 2b05296 + 0433def commit fb99e33

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

internal/platform/platform_unix.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,3 @@ func runtimeArchitecture() (string, error) {
1414
}
1515
return unix.ByteSliceToString(utsname.Machine[:]), nil
1616
}
17-
18-
// NumProcs returns the number of processors on the system
19-
//
20-
// Deprecated: temporary stub for non-Windows to provide an alias for the deprecated github.com/docker/docker/pkg/platform package.
21-
//
22-
// FIXME(thaJeztah): remove once we remove github.com/docker/docker/pkg/platform
23-
func NumProcs() uint32 {
24-
return 0
25-
}

0 commit comments

Comments
 (0)