Commit 44f1ab34 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

fwupd: remove unused members

parent ddefad4b
...@@ -168,8 +168,6 @@ void FwupdResource::setDeviceDetails(FwupdDevice *dev) ...@@ -168,8 +168,6 @@ void FwupdResource::setDeviceDetails(FwupdDevice *dev)
m_isLiveUpdatable = fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_UPDATABLE); m_isLiveUpdatable = fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_UPDATABLE);
m_isOnlyOffline = fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_ONLY_OFFLINE); m_isOnlyOffline = fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_ONLY_OFFLINE);
m_needsReboot = fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_NEEDS_REBOOT); m_needsReboot = fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_NEEDS_REBOOT);
m_isDeviceRemoval = !fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_INTERNAL);
m_needsBootLoader = fwupd_device_has_flag(dev, FWUPD_DEVICE_FLAG_NEEDS_BOOTLOADER);
if (fwupd_device_get_name(dev)) { if (fwupd_device_get_name(dev)) {
QString vendorDesc = QString::fromUtf8(fwupd_device_get_name(dev)); QString vendorDesc = QString::fromUtf8(fwupd_device_get_name(dev));
......
...@@ -140,8 +140,6 @@ private: ...@@ -140,8 +140,6 @@ private:
bool m_isOnlyOffline = false; // True if only offline updates bool m_isOnlyOffline = false; // True if only offline updates
bool m_isLiveUpdatable = false; // True if device is live updatable bool m_isLiveUpdatable = false; // True if device is live updatable
bool m_needsReboot = false; // True if device needs Reboot bool m_needsReboot = false; // True if device needs Reboot
bool m_isDeviceRemoval = false; // True if device is Removal
bool m_needsBootLoader = false; // True if BootLoader Required
QString m_origin; QString m_origin;
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment