summaryrefslogtreecommitdiff
path: root/qemu-aio.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-03-02 21:27:16 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-03-07 12:28:04 +0100
commitaa73fcdcc1bf4157121716e2eb3230130b0d1232 (patch)
tree49330ffc6e9e03fae693a174cb2e6dd23c900f1d /qemu-aio.h
parentdd54cfe0bcf30d1f3a34e9c397f619d423fe0c5b (diff)
downloadqemu-aa73fcdcc1bf4157121716e2eb3230130b0d1232.tar.gz
usb-ehci: Remove dead nakcnt code
This patch removes 2 bits of dead nakcnt code: 1) usb_ehci_execute calls ehci_qh_do_overlay which does: nakcnt = reload; and then has a block of code which is conditional on: if (reload && !nakcnt) { which ofcourse is never true now as nakcnt == reload. 2) ehci_state_fetchqh does: nakcnt = reload; but before nakcnt is ever used ehci_state_fetchqh is always followed by a ehci_qh_do_overlay call which also does: nakcnt = reload; So doing this from ehci_state_fetchqh is redundant. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-aio.h')
0 files changed, 0 insertions, 0 deletions