mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
KPMCore: drop conditional code
This commit is contained in:
parent
ca037af6ca
commit
96c3f7def3
2 changed files with 0 additions and 8 deletions
|
@ -116,9 +116,7 @@ createNewPartition( PartitionNode* parent,
|
|||
PartitionTable::Flags flags )
|
||||
{
|
||||
FileSystem* fs = FileSystemFactory::create( fsType, firstSector, lastSector
|
||||
#ifdef WITH_KPMCORE22
|
||||
,device.logicalSize()
|
||||
#endif
|
||||
);
|
||||
return new Partition(
|
||||
parent,
|
||||
|
@ -153,9 +151,7 @@ createNewEncryptedPartition( PartitionNode* parent,
|
|||
FileSystemFactory::create( FileSystem::Luks,
|
||||
firstSector,
|
||||
lastSector
|
||||
#ifdef WITH_KPMCORE22
|
||||
,device.logicalSize()
|
||||
#endif
|
||||
) );
|
||||
if ( !fs )
|
||||
{
|
||||
|
@ -186,9 +182,7 @@ clonePartition( Device* device, Partition* partition )
|
|||
partition->fileSystem().type(),
|
||||
partition->firstSector(),
|
||||
partition->lastSector()
|
||||
#ifdef WITH_KPMCORE22
|
||||
,device->logicalSize()
|
||||
#endif
|
||||
);
|
||||
return new Partition( partition->parent(),
|
||||
*device,
|
||||
|
|
|
@ -219,9 +219,7 @@ PartitionJobTests::newCreatePartitionJob( Partition* freeSpacePartition, Partiti
|
|||
else
|
||||
lastSector = freeSpacePartition->lastSector();
|
||||
FileSystem* fs = FileSystemFactory::create( type, firstSector, lastSector
|
||||
#ifdef WITH_KPMCORE22
|
||||
,m_device->logicalSize()
|
||||
#endif
|
||||
);
|
||||
|
||||
Partition* partition = new Partition(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue