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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux