staging: rtl8723au: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints...
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 4 Dec 2014 21:15:43 +0000 (16:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 21:45:25 +0000 (13:45 -0800)
commit069b000ce432667ec6754572dda920b729d0a73c
tree2a8edd6ba03ddd72240f849d834ae0f30ec6a5f0
parentef4c65351a3daf572fb3c0bad3dd4baba51e817d
staging: rtl8723au: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints makes no sense

struct usb_host_interface points to an array of
struct usb_host_endpoints - it makes no sense to do a NULL pointer
check for each pointer.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/usb_intf.c