[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 07/14] Remove possibly unnecessary code in class NoDevFS



I cannot find anywhere that 'nodev' is used.  I played around with
variants on these two lines, but eventually ended up removing them
to continue with testing.
---
 storage/formats/fs.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 511ac3c..f80a877 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -933,8 +933,6 @@ class NoDevFS(FS):
 
     def __init__(self, *args, **kwargs):
         FS.__init__(self, *args, **kwargs)
-        if self.nodev and not self.device:
-            self.device = self.type
 
     def _deviceCheck(self, devspec):
         pass
-- 
1.6.1.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]