diff options
| author | Sergey Shtylyov <[email protected]> | 2022-02-16 11:51:52 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-17 16:20:46 +0100 |
| commit | 133da4b470ecb1d696f07d18753cc482fa0b7580 (patch) | |
| tree | 8a2ce0db6a2a117433bd1a5ba3a669d59874b08a /tools/perf/scripts/python | |
| parent | cd36facf104afbde7e8fa25cd6f5b6dd9fa97bb2 (diff) | |
usb: host: xhci: drop redundant checks
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 <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions