Re: [PATCH v2] usb: host: xhci: drop redundant checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8.2.2022 21.39, Sergey Shtylyov wrote:
> In xhci_endpoint_{disable|reset}() the expression '&vdev->eps[ep_index]'
> just cannot be NULL, so the checks have no sense at all...
> 
> Found by Linux Verification Center (linuxtesting.org) with the SVACE static
> analysis tool.
> 
> Signed-off-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

True, adding this

Thanks
-Mathias



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux