mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 17:28:20 +00:00
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:
parent
7cc725b918
commit
91bf84f7a0
@ -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 *
|
||||
|
@ -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];
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -13,7 +13,6 @@ G_DECLARE_DERIVABLE_TYPE(FuHidDevice, fu_hid_device, FU, HID_DEVICE, FuUsbDevice
|
||||
|
||||
struct _FuHidDeviceClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
gpointer __reserved[31];
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -27,7 +27,6 @@ G_DECLARE_DERIVABLE_TYPE(FuUdevDevice, fu_udev_device, FU, UDEV_DEVICE, FuDevice
|
||||
|
||||
struct _FuUdevDeviceClass {
|
||||
FuDeviceClass parent_class;
|
||||
gpointer __reserved[31];
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user