diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-03-02 21:27:16 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-07 12:28:04 +0100 |
commit | aa73fcdcc1bf4157121716e2eb3230130b0d1232 (patch) | |
tree | 49330ffc6e9e03fae693a174cb2e6dd23c900f1d /libfdt_env.h | |
parent | dd54cfe0bcf30d1f3a34e9c397f619d423fe0c5b (diff) | |
download | qemu-aa73fcdcc1bf4157121716e2eb3230130b0d1232.zip qemu-aa73fcdcc1bf4157121716e2eb3230130b0d1232.tar.gz qemu-aa73fcdcc1bf4157121716e2eb3230130b0d1232.tar.bz2 |
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 'libfdt_env.h')
0 files changed, 0 insertions, 0 deletions