fs: Drop unused WaitGroup in Dirent.destroy.

PiperOrigin-RevId: 210182476
Change-Id: I655a2a801e2069108d30323f7f5ae76deb3ea3ec
This commit is contained in:
Nicolas Lacasse
2018-08-24 17:15:42 -07:00
committed by Shentubot
parent a6b00502b0
commit c48708a041
-2
View File
@@ -1267,8 +1267,6 @@ func (d *Dirent) destroy() {
return
}
var wg sync.WaitGroup
defer wg.Wait()
d.mu.Lock()
defer d.mu.Unlock()