mirror of https://github.com/xemu-project/xemu.git
xid, chihiro: Remove errp from unrealize function
See "qdev: Unrealize must not fail" for more info.
This commit is contained in:
parent
ed6d5e3e6d
commit
dc0bfda251
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue