]> git.proxmox.com Git - fwupd.git/commitdiff
trivial: Reduce runtime RSS requirement for each device subclass
authorRichard Hughes <richard@hughsie.com>
Tue, 10 Jan 2023 20:28:31 +0000 (20:28 +0000)
committerRichard Hughes <richard@hughsie.com>
Tue, 10 Jan 2023 20:43:31 +0000 (20:43 +0000)
Remove the FuDeviceClass padding, as this library now loaded using an rpath
rather than a shared library with a static API. This matches what we did for
the FuFirmwareClass objects a while ago.

libfwupdplugin/fu-bluez-device.h
libfwupdplugin/fu-cfi-device.h
libfwupdplugin/fu-hid-device.h
libfwupdplugin/fu-i2c-device.h
libfwupdplugin/fu-mei-device.h
libfwupdplugin/fu-udev-device.h
libfwupdplugin/fu-usb-device.h

index b2084aa1e5e5c384942bb74035e03ca224b8ead5..af59b7b0048bd8cefcded9d9ed14f968c9c89ade 100644 (file)
@@ -13,7 +13,6 @@ G_DECLARE_DERIVABLE_TYPE(FuBluezDevice, fu_bluez_device, FU, BLUEZ_DEVICE, FuDev
 
 struct _FuBluezDeviceClass {
        FuDeviceClass parent_class;
-       gpointer __reserved[31];
 };
 
 GByteArray *
index 08dd4dfdb3b871546c5115b24dfaff0f1ad18d4e..a3b66097b5528a60d7ff5f6ed67cee20fc799d14 100644 (file)
@@ -14,7 +14,6 @@ G_DECLARE_DERIVABLE_TYPE(FuCfiDevice, fu_cfi_device, FU, CFI_DEVICE, FuDevice)
 struct _FuCfiDeviceClass {
        FuDeviceClass parent_class;
        gboolean (*chip_select)(FuCfiDevice *self, gboolean value, GError **error);
-       gpointer __reserved[30];
 };
 
 /**
index 324b76db337f8dc6dadaed1508f6d12785ff168c..d7813b53b046b1453235fd3b757b6f114102faab 100644 (file)
@@ -13,7 +13,6 @@ G_DECLARE_DERIVABLE_TYPE(FuHidDevice, fu_hid_device, FU, HID_DEVICE, FuUsbDevice
 
 struct _FuHidDeviceClass {
        FuUsbDeviceClass parent_class;
-       gpointer __reserved[31];
 };
 
 /**
index 29562e93fbf6e574c38a6d61d206b761c1d4df39..9c8b5a47f68bec16d007174836052997dd2375cf 100644 (file)
@@ -13,7 +13,6 @@ G_DECLARE_DERIVABLE_TYPE(FuI2cDevice, fu_i2c_device, FU, I2C_DEVICE, FuUdevDevic
 
 struct _FuI2cDeviceClass {
        FuUdevDeviceClass parent_class;
-       gpointer __reserved[31];
 };
 
 guint
index 5ec749527426e2e8bcd71039c25362899550550b..3b73b996dfe0570649ed40e219c315cc4f35485b 100644 (file)
@@ -13,7 +13,6 @@ G_DECLARE_DERIVABLE_TYPE(FuMeiDevice, fu_mei_device, FU, MEI_DEVICE, FuUdevDevic
 
 struct _FuMeiDeviceClass {
        FuUdevDeviceClass parent_class;
-       gpointer __reserved[31];
 };
 
 gboolean
index 5c78aeff1248664ba68d9aa3c113888168aa9e72..05cf1ecb5225f6f3be764316f931b7f569169b6d 100644 (file)
@@ -27,7 +27,6 @@ G_DECLARE_DERIVABLE_TYPE(FuUdevDevice, fu_udev_device, FU, UDEV_DEVICE, FuDevice
 
 struct _FuUdevDeviceClass {
        FuDeviceClass parent_class;
-       gpointer __reserved[31];
 };
 
 /**
index e56489a2f912f39dcefb7047a1b4e44604ffecfd..38b3e144c6d57a83f8a6a72ba46e4aa061ad8a83 100644 (file)
@@ -24,7 +24,6 @@ G_DECLARE_DERIVABLE_TYPE(FuUsbDevice, fu_usb_device, FU, USB_DEVICE, FuDevice)
 
 struct _FuUsbDeviceClass {
        FuDeviceClass parent_class;
-       gpointer __reserved[31];
 };
 
 FuUsbDevice *