diff options
author | Markus Armbruster <armbru@redhat.com> | 2011-05-19 13:37:14 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-23 11:20:02 -0500 |
commit | 1cc2428ccec8759130c45033c8a44867e919485f (patch) | |
tree | ac9f3ceb8a4d1042ffcd118ddcdbb0d83016e51c /hw/usb-ccid.c | |
parent | 3836620c091626c26caa77af66a90c047a8e8384 (diff) | |
download | qemu-1cc2428ccec8759130c45033c8a44867e919485f.zip qemu-1cc2428ccec8759130c45033c8a44867e919485f.tar.gz qemu-1cc2428ccec8759130c45033c8a44867e919485f.tar.bz2 |
usb-ccid: Drop unused CCIDCardInfo callback print()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-ccid.c')
-rw-r--r-- | hw/usb-ccid.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c index d392299..4dda2c4 100644 --- a/hw/usb-ccid.c +++ b/hw/usb-ccid.c @@ -1104,20 +1104,9 @@ static Answer *ccid_peek_next_answer(USBCCIDState *s) : &s->pending_answers[s->pending_answers_start % PENDING_ANSWERS_NUM]; } -static void ccid_bus_dev_print(Monitor *mon, DeviceState *qdev, int indent) -{ - CCIDCardState *card = DO_UPCAST(CCIDCardState, qdev, qdev); - CCIDCardInfo *info = DO_UPCAST(CCIDCardInfo, qdev, qdev->info); - - if (info->print) { - info->print(mon, card, indent); - } -} - static struct BusInfo ccid_bus_info = { .name = "ccid-bus", .size = sizeof(CCIDBus), - .print_dev = ccid_bus_dev_print, .props = (Property[]) { DEFINE_PROP_UINT32("slot", struct CCIDCardState, slot, 0), DEFINE_PROP_END_OF_LIST(), |