summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorLiam Merwick2019-02-06 14:36:56 +0100
committerGerd Hoffmann2019-02-20 09:41:23 +0100
commit7011baece29d0e197c54c4e57326ba88e67a4949 (patch)
tree6a706ed412d6546a25077931d14daae02c75eedb /scripts/qapi/commands.py
parentusb: add device checks before redirector calls to usb_ep_get() (diff)
downloadqemu-7011baece29d0e197c54c4e57326ba88e67a4949.tar.gz
qemu-7011baece29d0e197c54c4e57326ba88e67a4949.tar.xz
qemu-7011baece29d0e197c54c4e57326ba88e67a4949.zip
usb: remove unnecessary NULL device check from usb_ep_get()
No caller of usb_ep_get() calls it with a NULL device (previous commits have addressed the few remaining cases which didn't explicitly check). Replace check for 'dev == NULL' with an assert instead. Signed-off-by: Liam Merwick <liam.merwick@oracle.com> Message-id: 1549460216-25808-10-git-send-email-liam.merwick@oracle.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions