diff --git a/client/server/capture.go b/client/server/capture.go index 68a7a4462..308c00338 100644 --- a/client/server/capture.go +++ b/client/server/capture.go @@ -304,12 +304,6 @@ func (s *Server) cleanupBundleCapture() { s.bundleCapture = nil } -func (s *Server) getCaptureEngine() (*internal.Engine, error) { - s.mutex.Lock() - defer s.mutex.Unlock() - return s.getCaptureEngineLocked() -} - // claimCapture reserves the engine's capture slot for sess. Returns // FailedPrecondition if another capture is already active. func (s *Server) claimCapture(sess *capture.Session) (*internal.Engine, error) {