From c48708a041fcc9749e0162a7708f32e5a3d7e526 Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Fri, 24 Aug 2018 17:14:38 -0700 Subject: fs: Drop unused WaitGroup in Dirent.destroy. PiperOrigin-RevId: 210182476 Change-Id: I655a2a801e2069108d30323f7f5ae76deb3ea3ec --- pkg/sentry/fs/dirent.go | 2 -- 1 file changed, 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() -- cgit v1.2.3