diff options
| author | Colin Ian King <[email protected]> | 2020-09-14 14:56:46 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-14 16:46:42 +0200 |
| commit | 78ec034966b5b1879782903945fd5560c9d3b264 (patch) | |
| tree | f407f2f50c03d23e980d679939c53bd91c9df7a0 /tools/perf/scripts/python/bin | |
| parent | bbc11b34fa3dc3d9dc7b547141cdd765025567c3 (diff) | |
misc: hisi_hikey_usb: fix return of uninitialized ret status variable
Currently the return value from ret is uninitialized so the function
hisi_hikey_usb_parse_kirin970 is returning a garbage value when
succeeding. Since ret is not used anywhere else in the function, remove
it and just return 0 success at the end of the function.
Fixes: d210a0023590 ("misc: hisi_hikey_usb: add support for Hikey 970")
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Colin Ian King <[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/bin')
0 files changed, 0 insertions, 0 deletions