From c30f4a9134d64031b9b0a42d4eabeff64788d10a Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 28 Mar 2016 15:33:10 +0200 Subject: [PATCH] fs: remove unneeded code --- src/restic/fs/file_linux.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/restic/fs/file_linux.go b/src/restic/fs/file_linux.go index ed7793ce0..baff4bd9c 100644 --- a/src/restic/fs/file_linux.go +++ b/src/restic/fs/file_linux.go @@ -16,15 +16,6 @@ func Open(name string) (File, error) { return &nonCachingFile{File: file}, err } -// osFile wraps an *os.File and adds a no-op ClearCache() method. -type osFile struct { - *os.File -} - -func (osFile) ClearCache() error { - return nil -} - // these constants should've been defined in x/sys/unix, but somehow aren't. const ( _POSIX_FADV_NORMAL = iota