[PATCH 1/1] staging: rtl8188eu: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints makes no sense

2014-12-01 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com 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.soren...@redhat.com --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 33

Re: [PATCH 1/1] staging: rtl8188eu: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints makes no sense

2014-12-01 Thread Larry Finger
On 12/01/2014 02:20 PM, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com 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.soren...@redhat.com ---