Revision 98861f51
ID | 98861f512bbd8789bd7935a75316d3278be23a0a |
usb: handle dev == NULL in usb_handle_packet()
Allow passing in a NULL pointer, return USB_RET_NODEV in that case.
Removes the burden to to a NULL pointer check from the callers.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted