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

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

 



On 2/9/22 3:40 PM, Mathias Nyman 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

   At least SVACE was good for smething. :-)

> Thanks
> -Mathias

MBR, Sergey



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

  Powered by Linux