trivial: Reduce runtime RSS requirement for each device subclass

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.
This commit is contained in:
Richard Hughes 2023-01-10 20:28:31 +00:00
parent 7cc725b918
commit 91bf84f7a0
7 changed files with 0 additions and 7 deletions

View 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 *

View 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];
};
/**

View 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];
};
/**

View 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

View 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

View 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];
};
/**

View 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 *