summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/context.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-13 22:50:52 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-13 22:50:52 +0000
commitc94b57b6922c66fdd30e558ba1ad732a0bdad43c (patch)
tree83daffa823cf5d76683b5b1cd1367190ef5a03e6 /pkg/sentry/kernel/context.go
parente85b525c60512f35ce2cb9ed034b27b069f36730 (diff)
parenta1cb52447f3e9414211b9e0558f1231ae3e59329 (diff)
Merge release-20201030.0-94-ga1cb52447 (automated)
Diffstat (limited to 'pkg/sentry/kernel/context.go')
-rw-r--r--pkg/sentry/kernel/context.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/pkg/sentry/kernel/context.go b/pkg/sentry/kernel/context.go
index bb94769c4..a8596410f 100644
--- a/pkg/sentry/kernel/context.go
+++ b/pkg/sentry/kernel/context.go
@@ -15,8 +15,6 @@
package kernel
import (
- "time"
-
"gvisor.dev/gvisor/pkg/context"
)
@@ -98,18 +96,3 @@ func TaskFromContext(ctx context.Context) *Task {
}
return nil
}
-
-// Deadline implements context.Context.Deadline.
-func (*Task) Deadline() (time.Time, bool) {
- return time.Time{}, false
-}
-
-// Done implements context.Context.Done.
-func (*Task) Done() <-chan struct{} {
- return nil
-}
-
-// Err implements context.Context.Err.
-func (*Task) Err() error {
- return nil
-}