summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2021-07-09 15:57:05 -0700
committergVisor bot <gvisor-bot@google.com>2021-07-09 16:00:25 -0700
commitd78713e2da5331a22fc51fb9a9ad33cc1873879c (patch)
treeb1307205f1a981332185d19bfff0336d99b60998 /pkg/sentry
parentde29d8d415ab539195840aeba57a17cd6c89218f (diff)
Drop unnecessary checklocksignore.
PiperOrigin-RevId: 383940663
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/kernel/task_cgroup.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/task_cgroup.go b/pkg/sentry/kernel/task_cgroup.go
index 7dd6d3108..828b90014 100644
--- a/pkg/sentry/kernel/task_cgroup.go
+++ b/pkg/sentry/kernel/task_cgroup.go
@@ -27,8 +27,6 @@ import (
// EnterInitialCgroups moves t into an initial set of cgroups.
//
// Precondition: t isn't in any cgroups yet, t.cgs is empty.
-//
-// +checklocksignore parent.mu is conditionally acquired.
func (t *Task) EnterInitialCgroups(parent *Task) {
var inherit map[Cgroup]struct{}
if parent != nil {