From dc0bfda2513de573084b1a5cd2b973b96eda4848 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Tue, 25 Aug 2020 14:27:56 -0700 Subject: [PATCH] xid, chihiro: Remove errp from unrealize function See "qdev: Unrealize must not fail" for more info. --- hw/xbox/chihiro-usb.c | 4 ++-- hw/xbox/xid.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xbox/chihiro-usb.c b/hw/xbox/chihiro-usb.c index 898770a91e..6463167988 100644 --- a/hw/xbox/chihiro-usb.c +++ b/hw/xbox/chihiro-usb.c @@ -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) { } diff --git a/hw/xbox/xid.c b/hw/xbox/xid.c index 9c85121af8..7c3b2ccf7a 100644 --- a/hw/xbox/xid.c +++ b/hw/xbox/xid.c @@ -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) { }