mirror of
https://github.com/xemu-project/xemu.git
synced 2026-07-11 01:24:41 +02:00
xid, chihiro: Remove errp from unrealize function
See "qdev: Unrealize must not fail" for more info.
This commit is contained in:
@@ -249,7 +249,7 @@ static void chihiro_an2131qc_realize(USBDevice *dev, Error **errp)
|
||||
usb_desc_init(dev);
|
||||
}
|
||||
|
||||
static void chihiro_an2131qc_unrealize(USBDevice *dev, Error **errp)
|
||||
static void chihiro_an2131qc_unrealize(USBDevice *dev)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ static void chihiro_an2131sc_realize(USBDevice *dev, Error **errp)
|
||||
usb_desc_init(dev);
|
||||
}
|
||||
|
||||
static void chihiro_an2131sc_unrealize(USBDevice *dev, Error **errp)
|
||||
static void chihiro_an2131sc_unrealize(USBDevice *dev)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -405,7 +405,7 @@ static void usb_xid_handle_destroy(USBDevice *dev)
|
||||
}
|
||||
#endif
|
||||
|
||||
static void usb_xbox_gamepad_unrealize(USBDevice *dev, Error **errp)
|
||||
static void usb_xbox_gamepad_unrealize(USBDevice *dev)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user