summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/dirent.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-08-24 17:14:38 -0700
committerShentubot <shentubot@google.com>2018-08-24 17:15:42 -0700
commitc48708a041fcc9749e0162a7708f32e5a3d7e526 (patch)
treed079173b14aee7e26f2037bc97e0378299e31442 /pkg/sentry/fs/dirent.go
parenta6b00502b04ced2f12cfcf35c6f276cff349737b (diff)
fs: Drop unused WaitGroup in Dirent.destroy.
PiperOrigin-RevId: 210182476 Change-Id: I655a2a801e2069108d30323f7f5ae76deb3ea3ec
Diffstat (limited to 'pkg/sentry/fs/dirent.go')
-rw-r--r--pkg/sentry/fs/dirent.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/sentry/fs/dirent.go b/pkg/sentry/fs/dirent.go
index 71ef3336e..c1dfa0de7 100644
--- a/pkg/sentry/fs/dirent.go
+++ b/pkg/sentry/fs/dirent.go
@@ -1267,8 +1267,6 @@ func (d *Dirent) destroy() {
return
}
- var wg sync.WaitGroup
- defer wg.Wait()
d.mu.Lock()
defer d.mu.Unlock()