summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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()