kernel/pipe: clean up unused fields from the Pipe structure

They have been added by mistake.

PiperOrigin-RevId: 417716586
This commit is contained in:
Andrei Vagin
2021-12-21 17:14:04 -08:00
committed by gVisor bot
parent d54045f34a
commit 271e4f4ae6
-7
View File
@@ -168,13 +168,6 @@ type Pipe struct {
//
// This is protected by mu.
hadWriter bool
// waitingWriters is used to wait when writers are initialized after a
// reader has opened the pipe.
waitingWriters sync.WaitGroup `state:"nosave"`
// waitingReaders is used to wait when readers are initialized after a
// write has opened the pipe.
waitingReaders sync.WaitGroup `state:"nosave"`
}
// NewPipe initializes and returns a pipe.