staging: rtl8188eu: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints...
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 1 Dec 2014 20:20:58 +0000 (15:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:29:26 +0000 (16:29 -0800)
commit6179ed592b5e4c797d7c9668fe81356ebbeab423
tree7b0a9e47909072ad597c610099b733cb3d35d7cb
parent8b21696c51b05fbe0175cc3c22f3aaf1408cc18c
staging: rtl8188eu: 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>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c