diff --git a/src/filesystem/unix/DeviceLister.cpp b/src/filesystem/unix/DeviceLister.cpp index 09598256d7f639ae08597d8f0427b46513951c3b..6891b74947ab944677d8304d3d88ac98d0364d1e 100644 --- a/src/filesystem/unix/DeviceLister.cpp +++ b/src/filesystem/unix/DeviceLister.cpp @@ -237,8 +237,6 @@ bool DeviceLister::isRemovable( const std::string& partitionPath ) const std::to_string( major( s.st_rdev ) ) + ":" + std::to_string( minor( s.st_rdev ) ); - // This path is a symlink to a /sys/devices/....../block/device/partition folder - // We are interested in the <device> part std::string partitionBlockPath; try {