diff options
| author | Liam Merwick <liam.merwick@oracle.com> | 2019-02-06 13:36:56 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-20 09:41:23 +0100 |
| commit | 7011baece29d0e197c54c4e57326ba88e67a4949 (patch) | |
| tree | 6a706ed412d6546a25077931d14daae02c75eedb /hw/net/vhost_net.c | |
| parent | 4fc12aa1fcc212e47a695b4cd34e75f3dab7d7d7 (diff) | |
| download | focaccia-qemu-7011baece29d0e197c54c4e57326ba88e67a4949.tar.gz focaccia-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 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions