fusefrontend: drop unused haveGetdents warning

We don't actually print that warning anymore.
This commit is contained in:
Jakob Unterwurzacher 2018-01-25 09:06:06 +01:00
parent de878a3346
commit ea51837361
1 changed files with 0 additions and 4 deletions

View File

@ -8,7 +8,6 @@ import (
"os"
"path/filepath"
"runtime"
"sync"
"syscall"
"golang.org/x/sys/unix"
@ -257,9 +256,6 @@ retry:
return fuse.OK
}
// If syscallcompat.HaveGetdents is false we will warn once about it
var haveGetdentsWarnOnce sync.Once
// OpenDir implements pathfs.FileSystem
func (fs *FS) OpenDir(dirName string, context *fuse.Context) ([]fuse.DirEntry, fuse.Status) {
tlog.Debug.Printf("OpenDir(%s)", dirName)