diff --git a/lib/memfs/file.rb b/lib/memfs/file.rb
index <HASH>..<HASH> 100644
--- a/lib/memfs/file.rb
+++ b/lib/memfs/file.rb
@@ -337,11 +337,7 @@ module MemFs
       end
 
       def world_writable?
-        if (entry.mode & Fake::Entry::OWRITE).nonzero?
-          entry.mode
-        else
-          nil
-        end
+        entry.mode if (entry.mode & Fake::Entry::OWRITE).nonzero?
       end
 
       def sticky?
Simplifying Stat.world_writable?