From 20e6efd302746554c485028f9fc1f2fbf88b234e Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Mon, 18 May 2020 14:24:47 -0700 Subject: 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 --- pkg/sentry/fsimpl/devpts/queue.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg/sentry/fsimpl/devpts/queue.go') diff --git a/pkg/sentry/fsimpl/devpts/queue.go b/pkg/sentry/fsimpl/devpts/queue.go index 29a6be858..dffb4232c 100644 --- a/pkg/sentry/fsimpl/devpts/queue.go +++ b/pkg/sentry/fsimpl/devpts/queue.go @@ -25,8 +25,6 @@ import ( "gvisor.dev/gvisor/pkg/waiter" ) -// LINT.IfChange - // waitBufMaxBytes is the maximum size of a wait buffer. It is based on // TTYB_DEFAULT_MEM_LIMIT. const waitBufMaxBytes = 131072 @@ -236,5 +234,3 @@ func (q *queue) waitBufAppend(b []byte) { q.waitBuf = append(q.waitBuf, b) q.waitBufLen += uint64(len(b)) } - -// LINT.ThenChange(../../fs/tty/queue.go) -- cgit v1.2.3