diff options
| author | Suwan Kim <[email protected]> | 2019-03-06 00:11:10 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-19 15:00:34 +0100 |
| commit | fc2f113e5c0ee9a297c62700d8b71809f5785b33 (patch) | |
| tree | d814c97387fb35df2f34e0709acb714188466f07 /tools/perf/scripts/python | |
| parent | 8e6b85945155da5af95dc0fa58ae38b86428deea (diff) | |
usbip: Remove unnecessary null check
"vdev" points to vhci_hcd->vdev[] array and vhci_hcd->vdev[] array
is not a pointer array but a structure array and it is already used
in vhci_urb_enqueue() and then passed to vhci_tx_urb() as an argument.
vhci_tx_urb() is not called except vhci_urb_enqueue(). So, "vdev"
can not be null pointer. This null check statement is meaningless.
Signed-off-by: Suwan Kim <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions