mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
kernel/pipe: clean up unused fields from the Pipe structure
They have been added by mistake. PiperOrigin-RevId: 417716586
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user