ehci: add assert
commitb246721614e316ce948d058dbe45702447998b5f
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 9 Nov 2011 11:20:20 +0000 (9 12:20 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 21 Nov 2011 14:32:42 +0000 (21 15:32 +0100)
tree52916facefd9acceff4321852dd36d3876af7f5b
parent59310659073d85745854f2f10c4292555c5a1c51
ehci: add assert

Coverity thinks q could be NULL there and warns.
I believe it can't be NULL there.
Add assert to prove it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ehci.c