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 | 11a2bfcea9c4ac934b844240f457185effadeed7 (patch) | |
tree | ac9f3ceb8a4d1042ffcd118ddcdbb0d83016e51c /hw/usb-ccid.c | |
parent | b6089778430c76a05ee76d943e7b8aa048ff3f72 (diff) | |
download | qemu-11a2bfcea9c4ac934b844240f457185effadeed7.tar.gz qemu-11a2bfcea9c4ac934b844240f457185effadeed7.tar.bz2 qemu-11a2bfcea9c4ac934b844240f457185effadeed7.zip |
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 d3922998c5..4dda2c4833 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(), |