summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/devpts/terminal.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-05-18 14:24:47 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-18 14:26:09 -0700
commit20e6efd302746554c485028f9fc1f2fbf88b234e (patch)
treefff7cd0dcbf6015ebba23656a7fe5bbf0299878c /pkg/sentry/fsimpl/devpts/terminal.go
parent99a18ec8b4cc98694b8bc61a35b360d5fca1a075 (diff)
Remove IfChange/ThenChange lint from VFS2
As new functionality is added to VFS2, corresponding files in VFS1 don't need to be changed. PiperOrigin-RevId: 312153799
Diffstat (limited to 'pkg/sentry/fsimpl/devpts/terminal.go')
-rw-r--r--pkg/sentry/fsimpl/devpts/terminal.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/sentry/fsimpl/devpts/terminal.go b/pkg/sentry/fsimpl/devpts/terminal.go
index b44e673d8..7d2781c54 100644
--- a/pkg/sentry/fsimpl/devpts/terminal.go
+++ b/pkg/sentry/fsimpl/devpts/terminal.go
@@ -22,8 +22,6 @@ import (
"gvisor.dev/gvisor/pkg/usermem"
)
-// LINT.IfChanges
-
// Terminal is a pseudoterminal.
//
// +stateify savable
@@ -120,5 +118,3 @@ func (tm *Terminal) tty(isMaster bool) *kernel.TTY {
}
return tm.slaveKTTY
}
-
-// LINT.ThenChange(../../fs/tty/terminal.go)