diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-05 12:56:30 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-08 10:36:51 +0200 |
commit | af6248afd7653924d224b3fa8843fc93fdbb93b6 (patch) | |
tree | b5f98714920f80fd030c122bf640218e39db63f9 /tools/perf/scripts/python | |
parent | a647b414e05370b29a5140c526a3db693051273e (diff) |
USB: usbip: Remove an unnecessary goto
When udc_dev = NULL, it is not necessary to goto out to return, just
return NULL directly. And the out goto label can be removed.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230805045631.1858638-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions