Remove unused function.
This commit is contained in:
parent
28fa6ac5a4
commit
ee6e4469ca
|
@ -204,11 +204,6 @@ qint64 lvm2_pv::getTotalPE(const QString& deviceNode)
|
||||||
return val.isEmpty() ? -1 : val.toLongLong();
|
return val.isEmpty() ? -1 : val.toLongLong();
|
||||||
}
|
}
|
||||||
|
|
||||||
qint64 lvm2_pv::getFreePE(const QString& deviceNode)
|
|
||||||
{
|
|
||||||
return getTotalPE(deviceNode) - getAllocatedPE(deviceNode);
|
|
||||||
}
|
|
||||||
|
|
||||||
qint64 lvm2_pv::getAllocatedPE(const QString& deviceNode)
|
qint64 lvm2_pv::getAllocatedPE(const QString& deviceNode)
|
||||||
{
|
{
|
||||||
QString val = getpvField(QStringLiteral("pv_pe_alloc_count"), deviceNode);
|
QString val = getpvField(QStringLiteral("pv_pe_alloc_count"), deviceNode);
|
||||||
|
|
|
@ -108,7 +108,6 @@ public:
|
||||||
static QString getpvField(const QString& fieldName, const QString& deviceNode = QString());
|
static QString getpvField(const QString& fieldName, const QString& deviceNode = QString());
|
||||||
|
|
||||||
static qint64 getTotalPE(const QString& deviceNode);
|
static qint64 getTotalPE(const QString& deviceNode);
|
||||||
static qint64 getFreePE(const QString& deviceNode);
|
|
||||||
static qint64 getAllocatedPE(const QString& deviceNode);
|
static qint64 getAllocatedPE(const QString& deviceNode);
|
||||||
static QString getVGName(const QString& deviceNode);
|
static QString getVGName(const QString& deviceNode);
|
||||||
static PhysicalVolumes getPVinNode(const PartitionNode* parent);
|
static PhysicalVolumes getPVinNode(const PartitionNode* parent);
|
||||||
|
|
Loading…
Reference in New Issue