usb: Change *_exitfn return type from int to void
commit73f7fd8861ef4abeec0fea775f607d232a56962a
authorAkanksha Srivastava <akanksha.dlf@gmail.com>
Thu, 13 Oct 2016 20:21:31 +0000 (14 01:51 +0530)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 28 Oct 2016 15:17:23 +0000 (28 18:17 +0300)
tree5fc2442219fc729578f877909ae1508b18b22213
parent936c223051cf2a59ad7be9cc353b8426d5a02173
usb: Change *_exitfn return type from int to void

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 <akanksha.dlf@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/usb/ccid-card-emulated.c
hw/usb/ccid-card-passthru.c
hw/usb/ccid.h
hw/usb/dev-smartcard-reader.c