summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-03-01 17:44:24 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-03-02 09:45:42 -1000
commit0b10c389194d87acc9b8e9086e7fca495d8901c3 (patch)
treeddaf912e21fc36512354b8562e435fc659a8ffb7 /storage
parentf7d1564cad1f542fdcdaa25487f49152a9a68041 (diff)
downloadanaconda-0b10c389194d87acc9b8e9086e7fca495d8901c3.tar.gz
anaconda-0b10c389194d87acc9b8e9086e7fca495d8901c3.tar.xz
anaconda-0b10c389194d87acc9b8e9086e7fca495d8901c3.zip
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.
Diffstat (limited to 'storage')
-rw-r--r--storage/formats/fs.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 511ac3c01..f80a877db 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