From 1c80cbd13a81d42aee8886e4c48bdb5e7f23069a Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 14 Aug 2024 17:48:24 +0100 Subject: [PATCH] build: fix staticcheck lint errors with golangci-lint v1.60.1 --- cmd/mount/mount.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/mount/mount.go b/cmd/mount/mount.go index 0cc9ae651..2431d5df4 100644 --- a/cmd/mount/mount.go +++ b/cmd/mount/mount.go @@ -5,7 +5,6 @@ package mount import ( "fmt" - "runtime" "time" "bazil.org/fuse" @@ -70,9 +69,6 @@ func mountOptions(VFS *vfs.VFS, device string, opt *mountlib.Options) (options [ // report an error when fusermount is called. func mount(VFS *vfs.VFS, mountpoint string, opt *mountlib.Options) (<-chan error, func() error, error) { f := VFS.Fs() - if runtime.GOOS == "darwin" { - fs.Logf(nil, "macOS users: please try \"rclone cmount\" as it will be the default in v1.54") - } if err := mountlib.CheckOverlap(f, mountpoint); err != nil { return nil, nil, err }