| Index: base/file_util_linux.cc
|
| diff --git a/base/file_util_linux.cc b/base/file_util_linux.cc
|
| index d2a68706da6051d9557ae7147755c62402eea029..f776c917b74a51f0da876eb808e0ab8b2dd0e284 100644
|
| --- a/base/file_util_linux.cc
|
| +++ b/base/file_util_linux.cc
|
| @@ -72,16 +72,4 @@ bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
|
| return result;
|
| }
|
|
|
| -bool EvictFileFromSystemCache(const FilePath path) {
|
| - int fd = open(path.value().c_str(), O_RDONLY);
|
| - if (fd < 0)
|
| - return false;
|
| - if (fdatasync(fd) != 0)
|
| - return false;
|
| - if (posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED) != 0)
|
| - return false;
|
| - close(fd);
|
| - return true;
|
| -}
|
| -
|
| } // namespace file_util
|
|
|