From bd2ba2752d860d5a0b4f328332c3e0b79d275de8 Mon Sep 17 00:00:00 2001 From: Gonglei Date: Fri, 19 Sep 2014 14:48:41 +0800 Subject: usb-bus: remove "init" from USBDeviceClass struct All usb-bus devices are realized by realize(), remove init callback function from USBDeviceClass struct. Signed-off-by: Gonglei Reviewed-by: Paolo Bonzini Signed-off-by: Gerd Hoffmann --- include/hw/usb.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/hw/usb.h') diff --git a/include/hw/usb.h b/include/hw/usb.h index 612f09f..8ffbba2 100644 --- a/include/hw/usb.h +++ b/include/hw/usb.h @@ -273,8 +273,6 @@ typedef void (*USBDeviceUnrealize)(USBDevice *dev, Error **errp); typedef struct USBDeviceClass { DeviceClass parent_class; - int (*init)(USBDevice *dev); - USBDeviceRealize realize; USBDeviceUnrealize unrealize; -- cgit v1.1