fs: remove unneeded code

This commit is contained in:
Alexander Neumann 2016-03-28 15:33:10 +02:00
parent b7713d2d34
commit c30f4a9134
1 changed files with 0 additions and 9 deletions

View File

@ -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