]> git.proxmox.com Git - qemu.git/commit - usb-linux.c
usb-linux: We only need to keep track of 15 endpoints
authorHans de Goede <hdegoede@redhat.com>
Fri, 26 Nov 2010 14:02:16 +0000 (15:02 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 4 May 2011 10:25:24 +0000 (12:25 +0200)
commit3a4854b372e0ca1a619d33531efa02477674e93f
tree97d6967184e3ee12c78be8083e7b3b3cbef4d694
parent975f29984da4e25f2647d014ec3f4cf688c60e4d
usb-linux: We only need to keep track of 15 endpoints

Currently we reserve room for endpoint data for 16 endpoints, but given
that we only use endpoint data for endpoints 1-15, and always index the
array with the endpoint-number - 1, 15 is enough.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb-linux.c