[Qemu-devel] [PATCH v3] usb: Change *_exitfn return type from int to void

2016-10-13 Thread Akanksha Srivastava
The *_exitfn functions cannot fail and should not be returning int. This also removes the passthru_exitfn since this callback does nothing as of now. This was suggested as a Bite-sized task for code cleanup. Signed-off-by: Akanksha Srivastava --- hw/usb/ccid-card-emulated.c | 3 +-- hw/usb

[Qemu-devel] [PATCH v2] usb: Change *_exitfn return type from int to void

2016-10-08 Thread Akanksha Srivastava
The *_exitfn functions cannot fail and should not be returning int. This also removes the passthru_exitfn since this callback does nothing as of now. This was suggested as a Bite-sized task for code cleanup. Signed-off-by: Akanksha Srivastava --- hw/usb/ccid-card-emulated.c | 3 +-- hw/usb

[Qemu-devel] [PATCH] usb: Change *_exitfn return type from void to int

2016-09-30 Thread Akanksha Srivastava
The *_exitfn functions cannot fail and should not be returning int. Suggested as a Bite-sized task Signed-off-by: Akanksha Srivastava --- hw/usb/ccid-card-emulated.c | 4 ++-- hw/usb/ccid-card-passthru.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/usb/ccid-card