ehci: add assert
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 9 Nov 2011 11:20:20 +0000 (12:20 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 21 Nov 2011 14:32:42 +0000 (15:32 +0100)
commit339638267d9d4e782370fa09bae25e37a3016358
tree52916facefd9acceff4321852dd36d3876af7f5b
parente0418e06089885dd7d7527a4096fe66f2729eec0
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