File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
pkg/azurefile-proxy/server Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import (
2121 "fmt"
2222 "net"
2323 "strings"
24- "sync"
2524
2625 grpcprom "github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus"
2726 "google.golang.org/grpc"
@@ -30,10 +29,6 @@ import (
3029 mount_azurefile "sigs.k8s.io/azurefile-csi-driver/pkg/azurefile-proxy/pb"
3130)
3231
33- var (
34- mutex sync.Mutex
35- )
36-
3732type MountServer struct {
3833 mount_azurefile.UnimplementedMountServiceServer
3934
@@ -52,8 +47,6 @@ func NewMountServiceServer() *MountServer {
5247func (server * MountServer ) MountAzureFile (_ context.Context ,
5348 req * mount_azurefile.MountAzureFileRequest ,
5449) (resp * mount_azurefile.MountAzureFileResponse , err error ) {
55- mutex .Lock ()
56- defer mutex .Unlock ()
5750
5851 source := req .GetSource ()
5952 target := req .GetTarget ()
You can’t perform that action at this time.
0 commit comments