diff options
| author | Oscar Carter <oscar.carter@gmx.com> | 2020-04-25 17:17:46 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-28 14:26:29 +0200 |
| commit | d78b62c3eaf257dfb114f579c797a4777e3f45d4 (patch) | |
| tree | b5b8fb47b4f57b1efedf7c70c6c6a6d995a8cfca /tools/perf/scripts/python/bin | |
| parent | 8a5baa66b01f6bfbb4f2456fdd4a8fe3896d7119 (diff) | |
| download | linux-d78b62c3eaf257dfb114f579c797a4777e3f45d4.tar.gz linux-d78b62c3eaf257dfb114f579c797a4777e3f45d4.zip | |
staging: vt6656: Use return instead of goto
Replace the "goto" statements with a direct "return ret" as the jump
label only returns the ret variable.
Also, remove the unnecessary variable initialization because the ret
variable is set a few lines later.
Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200425151747.8199-3-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
