mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
fs: Drop unused WaitGroup in Dirent.destroy.
PiperOrigin-RevId: 210182476 Change-Id: I655a2a801e2069108d30323f7f5ae76deb3ea3ec
This commit is contained in:
committed by
Shentubot
parent
a6b00502b0
commit
c48708a041
@@ -1267,8 +1267,6 @@ func (d *Dirent) destroy() {
|
||||
return
|
||||
}
|
||||
|
||||
var wg sync.WaitGroup
|
||||
defer wg.Wait()
|
||||
d.mu.Lock()
|
||||
defer d.mu.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user