aboutsummaryrefslogtreecommitdiff
path: root/bolt_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'bolt_linux.go')
-rw-r--r--bolt_linux.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/bolt_linux.go b/bolt_linux.go
index e9d1c90..2b67666 100644
--- a/bolt_linux.go
+++ b/bolt_linux.go
@@ -4,8 +4,6 @@ import (
"syscall"
)
-var odirect = syscall.O_DIRECT
-
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return syscall.Fdatasync(int(db.file.Fd()))