diff --git a/src/fs/filesystem.cpp b/src/fs/filesystem.cpp index d824b4d..16b0516 100644 --- a/src/fs/filesystem.cpp +++ b/src/fs/filesystem.cpp @@ -134,8 +134,6 @@ QString FileSystem::detectMountPoint(FileSystem* fs, const QString& partitionPat mountPoint = mountPoints.findByDevice(partitionPath) ? mountPoints.findByDevice(partitionPath)->mountPoint() : QString(); - if (mountPoint == QStringLiteral("none")) - mountPoint = QString(); } return mountPoint; } diff --git a/src/fs/lvm2_pv.cpp b/src/fs/lvm2_pv.cpp index 9e19200..a85980e 100644 --- a/src/fs/lvm2_pv.cpp +++ b/src/fs/lvm2_pv.cpp @@ -16,7 +16,6 @@ * along with this program. If not, see .* *************************************************************************/ - #include "fs/lvm2_pv.h" #include "core/device.h"